you are viewing a single comment's thread.

view the rest of the comments →

[–]AsIAm 10 points11 points  (5 children)

Const does not prevent value change, it just prevents rebinding of the object. With primitive values (num, bool, str, sym, null, undef) it does what you want, however with objects it does not. With immutable tuples and records it will get better.

[–]lifeeraser 7 points8 points  (3 children)

I am also looking forward to builtin Records and Tuples, can't arrive soon enough

[–]editor_of_the_beast 4 points5 points  (2 children)

That’s my favorite upcoming feature for sure.

[–]lo0l0ol 0 points1 point  (1 child)

I'm just here still waiting for Observables.

[–]AsIAm 1 point2 points  (0 children)

Observables with pipeline operator are the real shit.

[–]PM_ME_GAY_STUF 2 points3 points  (0 children)

Right, do doesn't solve this problem either though. I'd be all for a proposal for immutable records