Where Are We Going?
More than two decades ago, I predicted that parallel and distributed programming were about to go mainstream, so I don’t have a fantastic track record as a pundit. Nevertheless, I believe that the increasing importance of concurrency and parallelism have clear implications for the future of programming.
The Future Is Immutable
To my mind, one lesson shines through all others—immutability is going to play a much larger part in the code we write in the future than it has in the past.
Immutability is most obviously relevant to functional programming—avoiding mutable state is what makes parallelism and concurrency so easy in functional code. But we don’t have to write functional programs for immutability to be beneficial. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access