A lot of the GoF design patterns stem from a time when EVERYTHING needed to be an object. Object orientation was the new holy grail, and people even wanted to push objects down into databases. Object databases were invented (luckily, they’re all dead) and the SQL standard was enhanced with ORDBMS features.
Since Java 8, finally, starting to recover from the damage that was made in early days of object orientation in the 90s, and can move back to a more data-centric, functional, immutable programming model where data processing languages like SQL are appreciated rather than avoided.
Since Java 8, finally, starting to recover from the damage that was made in early days of object orientation in the 90s, and can move back to a more data-centric, functional, immutable programming model where data processing languages like SQL are appreciated rather than avoided.
https://dzone.com/articles/how-functional-programming-will-finally-do-away-wi