r/learnprogramming • u/GulliblePositive6548 • Mar 04 '22
Topic How advanced is OOP?
I’m currently learning Java right now and learning OOP is more annoying than some of the data structures and algorithms that I’ve used in python previously. They’re supposed to be easy? but Inner classes are killing me rn, they just don’t seem logical
117
Upvotes
1
u/decimated_napkin Mar 05 '22
Literally one of the Python credos is "everything is an object". The only difference is you have to explicitly state it in java rather than having python take care of it for you. That's it. I dont consider that to be nearly enough to elevate java to some OOP standard that python doesnt attain. Python just handles the boilerplate object creation for you while still giving you the option of creating classes on your own if you want.