News for hackers. Stuff that matters.
Re:Java in the Small by p1necone on Wednesday December 18, 2024 @04:59PM (#42455899)
Really Java has always been kinda okay - the really horrible part of Java was always the "enterprise OOP" programming patterns that were basically a given in any commercial codebase - little things like pointing out the verbosity of a basic single file project are just shorthand for "look at all this shit people have written".

As the adage goes - Java programmers can write Java in any language.

Re:Java in the Small by Terr_ on Wednesday December 18, 2024 @07:17PM (#42456983)
... But if they do make it in Java, at least you have the tools to analyze and refactor it.
Re:Java in the Small by bzzzt on Thursday December 19, 2024 @03:22AM (#42459505)
You mean stuff like in the 'Design Patterns' book by the Gang of Four? That was originally written for C++ programmers and predates Java by a few years.

Seems 'Java programmers' were already writing Java before Java's release ;)

Re:Java in the Small by fuzztester on Thursday December 19, 2024 @10:57AM (#42462682)
Python programmers be like:

  from __past__ import JavaProgrammer 

  /usr/bin/python: error: line 0: not a chance
Re:Java in the Small by watwut on Thursday December 19, 2024 @02:49PM (#42465057)
That is something yet different.
Re:Java in the Small by trallnag on Thursday December 19, 2024 @12:59PM (#42464044)
Is the problem design patterns or opaque frameworks that rely on a ton of reflection?
Re:Java in the Small by watwut on Thursday December 19, 2024 @02:50PM (#42465065)
Afaik, at the time issue was a lot of programming in xml - where those frameworks are configured in various xmls and hard to understand and maintain. Reflection based frameworks are later development.
Re:Java in the Small by mercutio2 on Thursday December 19, 2024 @04:06PM (#42465688)
“In XML” is neither here nor there.

The massive amounts of indirection which the IDE wouldn’t help you understand was the difficult thing. What encoding you use for that is pretty irrelevant. JSON would have been worse.

Re:Java in the Small by watwut on Saturday December 21, 2024 @04:18PM (#42482395)
The indirection in Java itself matter significantly less, because you ctrl+click and it gets you where the things are. Plus auto completion. Both were part if Eclipse years and years ago.

The problem with xml was that IDEs were unable to help you.