The V Programming Language

Simple, fast, safe language created for developing Volt, soon available for everyone.

Open source release in June 2019. Early access since April 15.
Install V from source in 0.5 seconds
wget vlang.io/v.c && gcc -o v v.c
1.9k

iif tenary operator

Alex
Apr 15 · 3 min read
zuwa Jul 4 23:27
Any plans on implementing this? It would be a nice to have...one of the things I miss in Go. Thanks.
medvednikov Jul 6 01:45
If you mean

a := true ? 1 : 0

you can do

a := if true { 1 } else { 0 }
zuwa Jul 6 14:00
👍👍 Thanks
Log in via GitHub to comment



Powered by vtalk, open-source blogging/forum software written in V