this post was submitted on 05 Apr 2024
114 points (73.4% liked)

Programmer Humor

19331 readers
20 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 

Let's reinvent java bytecode but... different

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 32 points 6 months ago (10 children)

Java is disliked because it’s designed around flawed OOP principles developed in the 80s and 90s. The code easily turn into a mess if you adhere to these principles, because they’re flawed. If you avoid using these principles, you will still get a mess, because that’s not how Java is supposed to be used.

[–] [email protected] 16 points 6 months ago* (last edited 6 months ago) (9 children)

Java was such a fractal of stupid design choices in its early years, and a lot of it is still there. OOP except when it's not (int vs Integer, [] arrays but also List et al), no unsigned number types, initially no way to do closures or pass methods around so everything had to be wrapped in super verbose bullshit, initially absolutely dogshit multiparadigm support and very noun-oriented, initally no generics either meaning everything's an Object, when it did get generics they had to do type erasure for backwards compatibility, etc etc etc

[–] [email protected] 5 points 6 months ago (2 children)
[–] [email protected] 2 points 6 months ago (1 children)

Great article, thanks for the link! It makes good points that I hadn't really considered; I've probably just been cranky about it because I've preferred heterogenous translations

[–] [email protected] 2 points 6 months ago

Glad you liked it!

load more comments (6 replies)
load more comments (6 replies)