this post was submitted on 24 May 2024
11 points (92.3% liked)
General Programming Discussion
7814 readers
2 users here now
A general programming discussion community.
Rules:
- Be civil.
- Please start discussions that spark conversation
Other communities
Systems
Functional Programming
Also related
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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.
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.