by Anonymous Coward writes:
on Tuesday September 05, 2017 @08:50PM (#55145233)
Java is a shit language. It's best feature is static type safety, and it honestly doesn't do that very well. Then they try to fix the limitations by building these huge, stupid frameworks on top of it. Struts is used everywhere for years despite being shithouse. Then people go "OMG Struts was so bad, let's use Spring instead - it's the best!" except Spring is only good compared to shit like Struts, it's not actually good. It gets worse and worse, actually, encouraging lazy, thoughtless, "automagic" programming where you type in reams of scattered incantations until the app is working in the limited cases you've tested, having spent days and days debugging weird behaviour caused by the incomplete abstraction of the framework.
I have no idea how anyone reasons about large applications using Java frameworks. I suspect that most don't actually reason about them at all, just plough on to the next feature leaving behind bugs and security holes with such careful analysis as "it worked for me" and "the tests pass".
I truly wonder what programming would be like today if people hadn't doubled down on polishing the turd that is Java.
I'll bet you use more than you say, unless you wrote your own servers. Which is possible, I've done more than one of those. Java isn't the problem, and the GP that only has been exposed to Struts 2 and Spring, well, yes, he'd likely think those two things are Java when they're only minor frameworks used for one small subset of things people do with Java, no matter what the appearance is.
The typical page layout program is nothing more than an electronic
light table for cutting and pasting documents.
Java frameworks are polishing a turd. (Score:-1)
Java is a shit language. It's best feature is static type safety, and it honestly doesn't do that very well. Then they try to fix the limitations by building these huge, stupid frameworks on top of it. Struts is used everywhere for years despite being shithouse. Then people go "OMG Struts was so bad, let's use Spring instead - it's the best!" except Spring is only good compared to shit like Struts, it's not actually good. It gets worse and worse, actually, encouraging lazy, thoughtless, "automagic" programming where you type in reams of scattered incantations until the app is working in the limited cases you've tested, having spent days and days debugging weird behaviour caused by the incomplete abstraction of the framework.
I have no idea how anyone reasons about large applications using Java frameworks. I suspect that most don't actually reason about them at all, just plough on to the next feature leaving behind bugs and security holes with such careful analysis as "it worked for me" and "the tests pass".
I truly wonder what programming would be like today if people hadn't doubled down on polishing the turd that is Java.
Re: (Score:1)