Re:Why is OOP still so widely spread?
by dheera on Wednesday September 02, 2020 @08:02PM
(#24359583)
That part is fine, but Java idioms seem to routinely think that
isn't enough repetition, and so they take it a step further:
I'm exaggerating ;) but as a Python programmer myself, this is what comes to my mind whenever someone says the word "Java" to me. Obviously not for strings, but for more advanced constructs (e.g. Bluetooth) I often do see this much repetition in Java code. It's almost like someone designed this language to prank engineers.
[ Parent
| on HN ]
Re:Why is OOP still so widely spread?
by arethuza on Thursday September 03, 2020 @06:19AM
(#24362565)
That a reasonably parody of a lot of Java code - but I don't think it's really a property of Java the language but some odd principles that seem to be popular (or used to be popular) in the Java community.
BTW You missed:
public static final String STRING_STRING_CONSTANT = "string";