Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
medlabs132y@electrineer for what they claim, I don't think it's enough...
a year ago there was a discussion but things change, and I need to read what nerds have to say about it -
Last I heard it was labeled as vaporware in almost all serious discussions. Haven’t been keeping tabs in a while, though, so that may have changed.
I mean the claims are fantastic, but actually delivering on them seems like a far shot. If they ever do, that would be a gamechanger. -
@highlight
fn main() { resp := http.get(stories_url) ? ids := json.decode([]int, resp.text) ? shared cursor := Cursor{} mut threads := []thread{} for _ in 0 .. 8 { -
https://vlang.io/compare#go
I really really really dislike the symbolic syntax sugaring...
I can *guess* what it means.
But this "adding operators to avoid explicit code" thingamabobs like the dangling question tag at the end of the variable.... Makes me really uncomfortable.
Mostly because it hides a clear and obvious readable code behind a single character that can be easily missed or misunderstood.
mut threads := []thread{} ...
I guess it's an array declaration followed by lambda for initialisation.
Again something I really really hate.
Functions. Use them. They make it so much easier to grok wtf you're doing and you don't get a convoluted nesting hell...
The longer I look at the V code the more I really doubt that the language is meant to be maintainable.
It just looks like a language where syntax sugar became a higher priority than readability.
It makes me itchy.
A lot of modern languages started snorting syntax sugar to "save keystrokes" and it always ends in buggy, unmaintainable mess cause no one truly remembers what this means.
Kinda like duck typing, just with syntax sugar.
Kotlin is an good example... It isn't wrong, but once a dev tries to use all thingamabobs it offers it looks like someone applied a code obfuscator very successfully.
Related Rants
Why V or Vlang is not discussed enough ?
question
vlang