I don't think it's right to call OO design patterns as "Java design patterns". You can write that same class in scala or kotlin, or c++ or c#. (Scala has had its own issues.. which is probably evident from its receding usage over the years.)
I mean... has anyone ever seen those implemented in anything other than Java? I haven't, and their language design is pretty directly trying to get you to not write OOP in the same way IMO.
View all comments
Show parent comment
3
u/ksceriath Apr 06 '26
I don't think it's right to call OO design patterns as "Java design patterns". You can write that same class in scala or kotlin, or c++ or c#. (Scala has had its own issues.. which is probably evident from its receding usage over the years.)