loading...

re: What do you dislike about your favorite language? VIEW POST

TOP OF THREAD FULL DISCUSSION
re: I guess he wants const to really mean constant =) I think a nice way to ensure objects are immutable is to use a closure when constructing them an...

Yes can be, immutable by default but at the same time giving the option to developers of make some value mutable, similar at how mut keyword work in Rust, I like that approach, in this way you can work with mutable data but immutability would be the main paradigm in this issue

Makes sense. Iā€™d like that feature in JS.

code of conduct - report abuse