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

Programmer Humor

33090 readers
808 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
top 24 comments
sorted by: hot top controversial new old
[–] [email protected] 30 points 2 months ago* (last edited 2 months 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.

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

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

[–] [email protected] 7 points 2 months ago (1 children)
[–] [email protected] 1 points 2 months ago* (last edited 2 months 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....

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

You can't teach experience.

[–] [email protected] 0 points 2 months ago* (last edited 2 months 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

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

Strings are Objects, Doubles are Objects (that are than unboxed into primutives doubles)...

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

I'm currently taking the very last CS class my major requires. I can't wait to leave OOP behind and focus on hardware completely.

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

where do you plan to go to start that off after school?

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

Either microcontrollers, operating systems, or something else involving RISC-V. That's still a ways off though.