r/programming • u/knife_sharpener • Feb 22 '15
Java Makes Programmers Want To Do Absolutely Anything Else With Their Time
http://www.forbes.com/sites/quora/2015/02/21/java-makes-programmers-want-to-do-absolutely-anything-else-with-their-time/
35
Upvotes
3
u/yogthos Feb 22 '15
With Clojure everything is immutable by default and functions are pure. I only need to understand the specific of the code I wish to change in order to know that the change works.
In Java pretty much everything is mutable and you're dealing with references. It's much harder to tell what the scope of a particular change is without knowing every other place in the application that might reference the same data. Any time you call a function with side effects it might be changing something in an unexpected way.