3 ms·
Learning lisp is never in vain. You can almost apply your functional programming paradims learnt in clojure to most of the dynamic languages out there. Plus you
by tejinderss 9y ago
Learning lisp is never in vain. You can almost apply your functional programming paradims learnt in clojure to most of the dynamic languages out there. Plus you will be thinking in the immutable way of doing things.
- 8ytecoder 9y agoYes, as someone whose primary languages are Ruby and JS, I agree. It has made a tremendous change in the way I organise code.
- justbaker 9y agoLisp is fundamental programming knowledge IMO.
- erik_seaberg 9y agoIt's worth noting that most Lisp dialects don't really encourage immutable data, and Clojure seems to be a step forward there.
- edwinnathaniel 9y agoBut "immutable" way of doing things have been encouraged, suggested, marked-in-stone as best-practices in most languages since 2005... am I missing something? People have been saying that: - Global Object is bad - Stateless is better than Stateful - Singleton becomes an anti-pattern - Methods/Functions without side-effect (avoid mutation) Nobody really mentioned to do things the Functional programming way per-se but the characteristics are there.
- jb1991 9y agoImmutable programming with proper immutable data structures (i.e. persistent) is very different than immutable programming in a language with lots of constructs for mutation. You can throw "const" on things but that isn't really the same kind of immutable programming that exists in Clojure. Because immutable programming is not just about data not changing, it's about the transformations you can do on that data without concern for the costs that would arise if you did those same transformations in a language without immutable data structures.