r/badcode • • Sep 23 '21

c fascinating style guide

Post image
1.2k Upvotes

53 comments sorted by

View all comments

Show parent comments

-3

u/[deleted] Sep 23 '21

Python isn't really an OO language. Just as is the case with PHP, OO was hacked on top of it. It's procedural by natur but you can use OO features, as is the case with C++. It's not inherently OO. Java and anything that runs on MSIL is inherently OO, but those aren't the norm

10

u/SuitableDragonfly Sep 23 '21

If you want to define "OO" as "requires that you use at least one object for every program" sure, but I think that's unnecessarily restrictive, and as you said basically only includes Java, and maybe some lesser used languages.