News for hackers. Stuff that matters.
Re:Java 1.0 Turns 25 by happyweasel on Saturday January 23, 2021 @01:27PM (#25884814)
6. excessive configurabilty leads to fragility at runtime - the overuse of annotations, xml/yaml/whatever configurations and late-binding (effectively assembling the app at runtime) eliminates quite a lot of advantages of a statically typed language and brings us back to string coding: runtime-errors due to typos, jpa strings in annotations, typo in an xml file leads to non-functioning software at runtime. Classloader horrors due to deeply nested library dependencies that use different versions of libraries, fueled by the insanity called maven.
Re:Java 1.0 Turns 25 by twistedpair on Saturday January 23, 2021 @01:48PM (#25884999)
> overuse of annotations, xml/yaml/whatever configurations and late-binding (effectively assembling the app at runtime) eliminates quite a lot of advantages of a statically typed language

Just avoid Spring. That's been my motto and I've been Spring free for 7 years now. Doctors say I should live out a happy life.

Re:Java 1.0 Turns 25 by kharak on Sunday January 24, 2021 @05:12AM (#25890818)
I work mostly with Java and am a bit blind to other languages, at least in a professional setting. Which languages / ecosystems do it differently? I'm looking for something new.
Re:Java 1.0 Turns 25 by bostonvaulter2 on Sunday January 24, 2021 @06:16AM (#25891113)
I'd recommend Elixir as a nice introduction to functional programming while not being too arcane.