0
medlabs
1y

Why V or Vlang is not discussed enough ?

Comments
  • 0
    Is it not?
  • 0
    @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
  • 1
    I still have to learn the previous letters
  • 1
    @cafecortado you better skip the third one :D
  • 0
    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.
  • 0
    @highlight
    fn main() { resp := http.get(stories_url) ? ids := json.decode([]int, resp.text) ? shared cursor := Cursor{} mut threads := []thread{} for _ in 0 .. 8 {
  • 0
    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.
  • 3
    Because it's part scam, part shitty language
Add Comment