News for hackers. Stuff that matters.
Re:What Holds Me Back from ClojureScript by lgas on Thursday December 03, 2015 @04:47PM (#10672909)
The post says:

  In javascript, everything is mutable, but w/ new es7
  spread/rest syntax it is increasingly easy to just do
  immutable anyway. E.g. instead of myobj.x = newx you can
  do myobj = {...myobj, x: newx} and everything is immutable
  & persistant!
But if I'm reading this right:

https://github.com/sebmarkbage/ecmascript-rest-spread

They will be neither immutable nor persistent.

Re:What Holds Me Back from ClojureScript by HeyImAlex on Thursday December 03, 2015 @05:06PM (#10673053)
Poster probably meant it makes writing non-mutative code easier. Never mutating by convention is how a lot of js is being written these days.
Re:What Holds Me Back from ClojureScript by jaredly on Thursday December 03, 2015 @05:52PM (#10673332)
right. should have "(by convention)" in there. unfortunately not (yet) language enforced.
Re:What Holds Me Back from ClojureScript by lgas on Thursday December 03, 2015 @11:33PM (#10674638)
Ah. Guess that makes sense. I'm lucky enough to be able to use ClojureScript so I guess I've fallen behind on modern JS.