Never heard of this language, but it looks interesting. Very modern, certainly. One thing that stood out to me is that there's apparently the ability to write a bare `for` loop...? Is that just equivalent to while (true) in other languages?
Never heard of this language, but it looks interesting. Very modern, certainly. One thing that stood out to me is that there's apparently the ability to write a bare `for` loop...? Is that just equivalent to while (true) in other languages?
It can be used in many forms, while true is one of them.
I don't have a whole lot of experience hand writing v-lang. Mostly machine generated from static python.
But I find it convenient for what it does. Golang that is less verbose, single binary for distribution and fewer tokens if you're using an agent.
GitHub.com/LadybugDB/ladybug-vlang has a CLI I recently wrote with an agent for a database I maintain.
Static python with design by contract can be a stronger specification than natural language. @antirez was discussing this on his social media today.