logoalt Hacker News

tayistaylast Sunday at 11:01 PM1 replyview on HN

Congrats! I think this could be quite useful for me.

I noticed that `let`-declared variables seem to be mutable. I'd strongly recommend against that. Add a `var` keyword.


Replies

mdaniellast Monday at 2:58 AM

Seems to be the worst of both worlds: mutable by default, and one must add a "const" keyword to the "let", disincentivizing const behavior by making it super verbose (e.g. the "final" problem from Java)

https://github.com/Beariish/bolt/blob/0.1.0/doc/Bolt%20Progr...