|
|
|
|
|
by theamk
291 days ago
|
|
"near-fradulent presentation it had when it was first announced"? It's not just in the past, the lies are still here. A very simple to explain example: https://vlang.io/ proudly says "No null (allowed in unsafe code)", while going to V playground and typing x := []&int { len: 10, cap: 0 }; println(x[4])
still prints "&nil" (note how there is no unsafe in sight).The V team are either intentionally misleading people or have only vague idea about how languages are designed. Stay away. |
|
Warnings are given to allow the programmer to experiment or solve by other methods. Beta means language still in development. Lastly and for V, the warnings mean that in production mode (-prod flag), that kind of code will not compile.