this post was submitted on 30 May 2024
393 points (94.6% liked)

Programmer Humor

32048 readers
1402 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 2 points 3 months ago

Why typescript? It allows you to make typesafe compositions

[–] [email protected] 5 points 3 months ago
[–] [email protected] 12 points 3 months ago

Just give me interfaces and composition tbh

[–] [email protected] 13 points 3 months ago (3 children)

Inheritance makes complicated objects that would otherwise be impossible possible, but it only works if you know those objects really well. The problem is people write ridiculously complicated mystery objects in libraries and no one knows what's going on anymore.

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

Springboot is very confusing. The inheritance tree is insane, they created a class for everything, which I get.... But it is so hard to understand the whole scope their design.

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

Tho, C# is statically typed so you can look at the available methods any one library has at any time in the IDE

[–] [email protected] 3 points 3 months ago

that, and that its often not the best use of time to map out the entire project structure in uml before u even write a method...

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

Excuse me if I don't appreciate when the compiler adamantly refuses to do its job when there's one single unused variable in the code, when it could simply ignore that variable and warn me instead.

I also don't enjoy having to format datetime using what's probably the most reinventing-the-wheel-y and most weirdly US-centric formatting schemes I have ever seen any programming language build into itself.

[–] [email protected] 1 points 3 months ago

You spelled Elixir wrong.

load more comments
view more: next ›