this post was submitted on 30 May 2024
388 points (94.5% liked)

Programmer Humor

36623 readers
220 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
[–] [email protected] 59 points 1 year ago (3 children)

you can write oop without inhetitance

[–] [email protected] 1 points 1 year ago (1 children)

That’s just structs and unions right?

[–] [email protected] 4 points 1 year ago

You will still have private/public sections, interfaces (unless you class them as inheritance), classes and instances, the SOLID principles, composition over inheritance. OOP is a lot more than just large family trees of inheritance, a way of thinking that's been moved away from for a long time.

load more comments (1 replies)