logoalt Hacker News

ludovicianultoday at 2:07 PM2 repliesview on HN

I wouldn’t reduce it to don't use Java/Spring Boot. Rewrites often (not always) look great because they remove years of accumulated complexity, not because the original stack was inherently bad.

Just rewrite it in X doesn't "just work" for complex systems. It ignores risk, and the fact that design usually matters more than language.


Replies

faangguyindiatoday at 3:07 PM

i made 1 to 1 copy, not sliming anything.

iririririrtoday at 3:09 PM

usually what you say is correct. but in case of entreprise java, just look at the article. you have no way of knowing or controlling which essential class your application will be running because some intern merged a similarly named class two hundred levels down in the codebase and now that is handling all your db queries. and it's not a bug but a highly praised feature.

it's useless abstractions for the sake of useless abstractions.

java was designed so that american architecs could write a few interfaces and cheap workforce overseas could implement the actual code.

and the EE stuff evolved in a way that features could be shipped just by adding a new component that would inject itself in the right places. java "engineers" have no idea how http or cookies work, but they know where to load the spring-auth bean in a 2mb maven config.

so, any rewrite from java is an exception to the rewrites are only good because you cleaned up old features rule.