13.8 Further Reading
Programming functionally changes the design of Java programs fundamentally—away from methods with side effects to small functions that return objects with new states. The future will reveal novel patterns and best practices on how to develop in Java. Also, whether further concepts of functional programming will flow into Java and/or the JVM remain to be seen. So far, for example, immutability isn’t a language construct but is guaranteed by the API if setters and write access to variables are absent. However, reflection can throw a wrench in the works as well. Approaches for upcoming Java versions in the area of pattern matching are presented by Brian Goetz at https://www.youtube.com/watch?v=n3_8YcYKScw. At https://openjdk.java.net/jeps/406 ...
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