Skip to main content

All Questions

12 votes
10 answers
4k views

How to write useful Java programs without using mutable variables

I was reading an article about functional programming where the writer states (take 25 (squares-of (integers))) Notice that it has no variables. Indeed, it has nothing more than three functions and ...
minusSeven's user avatar