this post was submitted on 14 Nov 2024
69 points (87.9% liked)

Programmer Humor

32557 readers
735 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] LavenderDay3544@lemmy.world 29 points 1 week ago* (last edited 1 week ago) (1 children)

I hate that schools basically teach students to over use classes for everything especially by using Java as a teaching language and then they get into the real world or grad school and we have to unteach them those terrible habits.

I'm so glad a lot of the newer languages (Rust, Go, Zig, C3, V) don't have classes in them at all.

[–] eager_eagle@lemmy.world 12 points 1 week ago (1 children)

Tbh if the average grad school student overused object oriented stuff they would produce vastly better code than the status quo.

[–] LavenderDay3544@lemmy.world 7 points 1 week ago (1 children)
[–] eager_eagle@lemmy.world 1 points 1 week ago* (last edited 1 week ago) (2 children)

I've seen plenty of grad student code, abundance of OOP concepts was never an issue. Complete lack of any structure on the other hand....

[–] Kache@lemm.ee 1 points 1 day ago* (last edited 1 day ago)

Bad abstraction is worse than no abstraction

If the code is going to poorly organized, I'd prefer it to just be one single gigantic standalone script than some wrong and misleading arrangement of objects or functions that adds more complexity than they solve

[–] Chais@sh.itjust.works 2 points 1 week ago

You can't teach experience.