this post was submitted on 24 May 2024
10 points (91.7% liked)

General Programming Discussion

7814 readers
1 users here now

A general programming discussion community.

Rules:

  1. Be civil.
  2. Please start discussions that spark conversation

Other communities

Systems

Functional Programming

Also related

founded 5 years ago
MODERATORS
 

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?

you are viewing a single comment's thread
view the rest of the comments
[–] xmunk@sh.itjust.works 14 points 5 months ago (2 children)

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 2 points 5 months ago (1 children)

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 2 points 5 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.

[–] vfreire85@lemmy.ml 1 points 5 months ago* (last edited 5 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.