Echo JS 0.11.0

<~>
pselviakcay 2432 days ago. link 1 point
And here is yet another developer having hard time understanding the difference between references and values. 

Putting f**ks around statements of common knowledge and ranting doesn't make anything entertaining.

Replies

amitport 2432 days ago. link 1 point
I'm pretty sure he understands the difference... he's just saying that if it doesn't make the object immutable then it is not that useful.

(I disagree with him. I think minimal variables reassigning makes code easier to understand and 'const' helps to encourage that)
pselviakcay 2432 days ago. link 2 points
But he thinks that is not intuitive. It is intuitive as f**k is all I'm saying. It sounds ridiculous when you make something that fundamental as a base for your rant.

"So you wake up every day and think that you can go on forever? NOPE! We all die in the end! F* that sh**!!"
jaleksic 2432 days ago. link -1 point
Well const does not make objects immutable, only primitive values. It's that easy ^^
timoxley 2432 days ago. link 2 points
more accurately, only the reference is immutable. Nothing special happens that changes how const works with primitives vs objects.