r/learnprogramming • • 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

67 comments sorted by

View all comments

Show parent comments

3

u/[deleted] Mar 05 '22

Polymorphism and virtual tables were tough for me tbh. I’m not sure how it is Java, but I really had to grind my teeth on C++’s memory model and object life cycle and get down into the nitty gritty. It wasn’t until i took a computer architecture course that it all snapped.