7 ms·
After years of Python and TypeScript, I've started using Java as my default for everything. It's just so much more productive. The ancient developer memes that
by Shakahs 2y ago
After years of Python and TypeScript, I've started using Java as my default for everything. It's just so much more productive. The ancient developer memes that Java is slow and clunky don't apply anymore.
Postgres also had a long-held reputation for being slow and difficult, but it made incremental improvements for decades and now it's the default choice for databases.
I see Java in the exact same position, as the Postgres of languages.
- agumonkey 2y agowhat parts do you enjoy now ? I do agree that new ecosystems (js for instance) makes you miss some of the old big languages development feel. less churn
- deleted 2y ago[deleted]
- sdf4j 2y agoFirst time I hear those claims about Postgres. Was that the sentiment 30 years ago?
- dannyobrien 2y agoIt was definitely initially seen as big and cumbersome compared to MySQL, but sentiment shifted.
- cryptos 2y agoMySQL was kind of a fast toy database in the early days, but it was good enough to power simple PHP based websites.
- Tostino 2y agoIf say it was only about 15 years ago that the Postgres is slow stuff started dying off. Right around 2010.
- bcoates 2y ago14 years or less. Any version of Postgres before 9.0 was a nightmare to administer as a real production transactional dbms, at least the off the shelf version without a whole lot of tweaking without a (then very rare) pg expert.
- fulafel 2y agoI don't remember that. But I remember having basic DB features like transactions while MySQL didn't.
- cflewis 2y agoThe problem with Java since Java 8 has never been Java. It's been about the appalling ecosystem that infected it with reflection frameworks. It was bonkers that "POJO" was ever a thing that had to be defined. It feels like these frameworks are now just falling away, which is great. I'm not even hearing about Spring anymore, and if there is any reason to not use it, it would be this cringe "how do you do fellow kids?" blurb I just saw on their front page: > Level up your Java™ code > With Spring Boot in your app, just a few lines of code is all you need to start building services like a boss. I personally would reach for Go by default, but I have no ill-will to Java.
- MattPalmer1086 2y agoAhhhhh, yes. Java itself isn't bad and has been getting better. The frameworks made me want to scream.
- arez 2y agowhich ones specifically? I like Spring Boot tbh
- MattPalmer1086 2y agoHibernate mostly. Spring too, but it has been a while. Mostly I just find the abstraction isn't worth it .
- Alupis 2y agoThe way you write this makes be think you rawdog'd Hibernate and Spring Framework. Don't do that... you will hate yourself. Boot is something entirely different. You write very little code and get a ton done. The trade off is you are firmly now a "Boot" codebase, but once you learn how Boot works it's not a big deal.
- fiddlerwoaroof 2y agoI've had to maintain a couple Spring Boot apps and I absolutely cannot stand them: they pull in a whole pile of random dependencies and do weird things to your build with little explanation. Then, all the functionality involves a ton of classpath scanning and annotation-based DI that makes it hard to figure out how all the things fit together.