Hacker News new | ask | show | jobs
by yesbut 40 days ago
> You will notice the trust keyword here. Any operation (such as IO) that has an underlying unsafe mechanism (such as the @print builtin that std.stdio.print uses), must be explicitly trusted, as it is inherently impure.

just document the impure operations and stop forcing the programmer to type extra characters.

1 comments

Maybe stop being lazy? The goal of the feature is to make code self documenting. It's not my problem if you're a bad programmer.
...or, you know, make something new that improves developer ergonomics. or is that too hard?
Use JavaScript instead, I really don't care about convincing you.
unfortunately I don't think you are convincing anyone
Weird reply. I'm convincing people who are capable of reading. That obviously doesnt include you.