3 ms·
"I just felt like I had to type way too much to express a simple concept" Heh, this is probably true of Objective-C, it's just funny to hear a Java developer s
by makecheck 17y ago
"I just felt like I had to type way too much to express a simple concept"
Heh, this is probably true of Objective-C, it's just funny to hear a Java developer say this about any other technology...
- ido 17y agoAlthough it has some overly verbose constructs, IMO most of the complained verbosity in java is due to what is considered idiomatic java. You can indeed write much more concise and clear code in it, but for some reason the "proper" way to write java is to use a ton of factories, defining new class (and immediately extending them with more subclasses) for every little thing, wrappers, interfaces and so on.
- rozim 17y agoYeah, what drives me crazy is the insistence that java "properties" be hidden behind set/get methods even for simple ones in which their is realistically no need to every intercept their accesses. I think C# and Python at least allow transparent control of properties while still allowing the caller's code to look natural.
- Zaak 17y agoThe reason why idiomatic Java is so verbose is because if you don't write it that way from the start, you wind up painting yourself into a corner because Java doesn't have any way to add flexibility later without breaking things. It's one of the reasons I really dislike Java.