News for hackers. Stuff that matters.
Re:Monoliths Are the Future by MockObject on Thursday January 30, 2020 @01:40PM (#22193984)
It used to be that people wrote Fortran in any language. Now they're rewriting Java in every language.
Re:Monoliths Are the Future by pjmlp on Thursday January 30, 2020 @01:53PM (#22194138)
The bad reputation that enterprise Java gets, comes from enterprise C and C++ codebases.

https://en.wikipedia.org/wiki/Structured_systems_analysis_an...

https://en.wikipedia.org/wiki/Booch_method

Any language that gets into enterprise architect hands, with projects spread around multiple development sites with several consulting agencies, gets their FactoryFactories and such.

Re:Monoliths Are the Future by js8 on Thursday January 30, 2020 @02:01PM (#22194245)
No, Java has its own share of problems that it didn't inherit from anywhere. No custom value types, no operator overloading and the distaste for AOT compilation, to name a few. Also culture of code generation instead of using some kind of macro system.
Re:Monoliths Are the Future by pjmlp on Thursday January 30, 2020 @02:27PM (#22194505)
Custom value types will arrive, that is the point of project Valhalla.

C and Go also don't do operator overloading.

Code generation was a thing in C and C++ during the 90's. Borland C++ 1.0 came with a macro library (BIDS), which was later replaced by a new template based version in Borland C++ 2.0.

And the Go culture of //go:generate goes beyond anything that Java has had on its almost 30 years of existence.

AOT compilation exists since the early 2000's. The only distaste is that most developers don't want to pay for their tools, so they rather used the free beer JDK from Sun instead third party vendors. So only big corporations got to buy the JDKs from IBM, Oracle, ExcelsiorJET, Aonix,....

However now AOT free beer exists on OpenJDK, OpenJ9, GraalVM and although not strictly Java, Android.

Re:Monoliths Are the Future by bernawil on Thursday January 30, 2020 @02:59PM (#22194862)
It's like a museum of problems. Waves of solutions that became problems after.

The culture of code generation before the culture of XML configuration.

Re:Monoliths Are the Future by pjmlp on Thursday January 30, 2020 @03:20PM (#22195105)
I love my XML, with comments and static type validation, making my graphical tooling and IDE based editing quite comfortable, while observing YAML and JSON formats catching up on XML features.

They are there for a reason.

Re:Monoliths Are the Future by arkh on Thursday January 30, 2020 @04:42PM (#22196035)
The joys of JSONPath. Its documentation. Its implementations. Its capabilities.

I'm waiting for more fun with JSONSLT the day someone has the idea to make a first limited and poorly documented implementation.

Re:Monoliths Are the Future by Thaxll on Thursday January 30, 2020 @05:45PM (#22196720)
Spring, Hibernate and other "enterprise" monsters came from Java alone. FactoryFactory123.
Re:Monoliths Are the Future by pjmlp on Friday January 31, 2020 @01:24AM (#22199567)
Have you ever used CORBA and DCOM factories?

Enterprise ORMs were created in Smalltalk, C++ and Objective-C, years before Java was created.

Poet and Enterprise Object Framework were two well known ones.

In fact J2EE was born of the ashes of a failed Objective-C project at Sun, Neo, after its collaboration with NeXT on OpenSTEP failed apart.

https://en.m.wikipedia.org/wiki/Distributed_Objects_Everywhe...

Things are not created in vacuum, it helps to actually know computing history.

Re:Monoliths Are the Future by MockObject on Friday January 31, 2020 @10:30AM (#22202441)
Teaching the parable of Chesterton's Fence to every programmer would save billions annually.

https://wiki.lesswrong.com/wiki/Chesterton%27s_Fence

Re:Monoliths Are the Future by pjmlp on Friday January 31, 2020 @01:20PM (#22203982)
Indeed.