New language promises to reduce compilation times by using all threads and gpu cores available on your machine. What’s your opinions on it so far?

  • xmunk@sh.itjust.works
    link
    fedilink
    arrow-up
    15
    ·
    6 months ago

    Why is it fashionable to hate curly braces - I think readability is much better served with explicit block closing tags…

    And why do we hate type declarations? I don’t mind being able to omit type declarations, it’s handy for quick and dirty stuff - but strict type checking is a powerful tool… so much so that PHP has put a lot of effort into adding it after the fact.

    • mister_monster@monero.town
      link
      fedilink
      English
      arrow-up
      3
      arrow-down
      1
      ·
      6 months ago

      There’s type declarations and checking in Bend and HVM, it’s just Bend has type inferrance. I personally don’t mind either way, although for scripting I do like mutable types like in Python, it makes things easier to write, at the cost of needing to know exactly what you’re doing or cleaning up bugs.

      • xmunk@sh.itjust.works
        link
        fedilink
        arrow-up
        2
        ·
        6 months ago

        Yea, when it comes to type declarations it’s mostly about an added layer of safety especially when it comes to function layers and code contracts… these are useful things when you have a lot of cooks in the kitchen.

    • vfreire85OP
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      6 months ago

      tbh i have no problem with curly brackets either. even though my first language was freebasic (!), i have worked more with curly bracket languages and actually find them quite useful, if not powerful.