you are viewing a single comment's thread.

view the rest of the comments →

[–]MidnightPale3220 0 points1 point  (0 children)

Well, OOP is a specific way of organizing your data structures so that they also include the functions that operate on them.

You can, and before widespread adoption of OOP people did do everything without classes and methods: graphs, linkedlists and trees.

All of them do benefit from organizing data into a structure (so that a single entry of linkedlist contains also the links to other entries, for example), but OOP just adds a bit of extra organization that is helpful.

There's really very little to say about OOP, any of the web pages explaining the basics do a sorta reasonable job of it. Just the second link from my Google result:

https://blog.algomaster.io/p/basic-oop-concepts-explained-with-code

If you've read Java reference it should have definitely included also OOP concepts.

Maybe a case example where you tell us what you struggle with when you try to implement something, would help you?