logoalt Hacker News

bzzzttoday at 8:08 AM3 repliesview on HN

2003 called and wants its arguments against Java back.

Modern Java can be OOP, functional or procedural where useful. GoF patterns were never enforced by the language.


Replies

vintermanntoday at 8:42 AM

I'd say GoF patterns were pretty enforced by the language if you include the standard libraries.

Or maybe that's even a bit rude to GoF. Some OO patterns - pretty questionable ones - were pushed pretty hard especially in Java EE.

fragmedetoday at 8:11 AM

Does the name of the class inside the file still break the wall and force what the name of the file needs to be?

ahokatoday at 8:51 AM

Unless you write everything from scratch, you are forced to deal with 20 years of bad design. I really wish people would just stop beating this dead horse.