sizeoftheuniverse

joined 1 year ago
[–] sizeoftheuniverse 12 points 11 months ago (3 children)

Medium articles should be banned.

[–] sizeoftheuniverse 7 points 11 months ago

Low effort writing. Medium.

[–] sizeoftheuniverse 24 points 11 months ago

This is funny on all levels:

  • The initial motivation for the heinous act;

  • How the plan was implemented;

  • The reaction to the plan.

[–] sizeoftheuniverse 5 points 11 months ago* (last edited 11 months ago)

Yes, i was part of the cult in my early days as programmer. I would endlessly create abstractions over abstractions. But the whole madness started for valid reasons.

Im the early days of Java on the web, you had servlets and JSP. Servlets were miserable to write, and JSPs were basically the java interpretation of having a PHP. Those were the days before JSON and yaml, when XML was king.

So people wanted to abstract their way out of JSP and XML, so they created layers to isolate the nasty parts and make it easier to write actual Java code. So a few ideas emerged/frameworks: ORMs, EJBs, Struts, JSF, template frameworks, and finally Spring which was the lightweight one, if you can believe it. A lot of those ideas coming from the Java world were exported into various other languages in a selective ways.

People experienced with various patterns and frameworks. Eventually Spring won, and then Spring started to use annotations, JSON became more popular, etc., the code became less and less verbose.

Some Java developers never made the mental jump and are still creating huge piles of abstractions because this is what they've learned from their seniors.

[–] sizeoftheuniverse 30 points 11 months ago* (last edited 11 months ago) (4 children)

Yes it does, the only parts where Java doesn't shine are usually some advanced features that are nightmarish for people who are building tools and libraries:

  • The type system is so 90s and it's kept like that for backwards compatibility.

  • Generics having type erasure is again an improvisation for the sake of backwards compatibility. It makes writing generic code in conjunction with Reflection painful.

  • The lack of control for the memory layout. I mean in most cases you dont need full control, but there are use cases where it's literally impossible to do optimisations that are easy to do in C/C++. You must have faith in the JVM and JIT.

  • Integration with native code is cumbersome.

Other than that Java is fine for most backend work you need to do, except probably for Real Time Processing apps where every millisecond count, but even there there are ways.

You use Java not for the languages itself, but for the tooling and the ecosystem.

[–] sizeoftheuniverse 1 points 11 months ago

For personal projects and prototypes i believe it's fine, but when you consume the electricity of mid-size countries just because you prefer to write your production code in convenient languages don't lecture others about ecology and climate change (i am not refering to you).

[–] sizeoftheuniverse 3 points 11 months ago

That's a possibility.

 

I am looking for old-school (html only, mininalist design) programming blogs, that are mainly focused on math, algorithms or systems programming. I also don't mind a few rants, movies or books reviews, but the content should be mainly technical. Preferred languages: C, C++, go, maybe Rust. Java or Kotlin are also cool as long as it is about the JVM, optimizations, but not Spring or Enterprisy stuff.

For example: https://nullprogram.com/ would qualify perfectly.

If not a list, maybe some links? A digital garden where you keep interesting articles it's also nice.

I prefer quality over quantity, you know the type of content that usually gets upvoted on hn, without the corporate bullshit or angel investment stuff.

5
king rat (programming.dev)
 
view more: next ›