5 ms·
Could you explain which antipatterns you're referring to?
by complexworld 1y ago
Could you explain which antipatterns you're referring to?
- ori_b 1y agoLeaning heavily into object orientation, including baking in things like companion objects, object expressions, etc. Encouraging utility classes that tack half-baked functionality onto existing types. Smart casts encouraging overly complex hierarchy. While operator overloading and infix functions aren't a Java anti-pattern, I also think the language would be improved by their removal.
- int_19h 1y agoEven if you sincerely believe that OOP is an anti-pattern, surely it was firmly "baked into the language" in Java already? Kotlin is fundamentally a better Java, not a rebuttal to Java.