If we are talking about the most used languages then we are talking about object oriented programming.
OO is pretty hard for newcomers to wrap their head around.
Hell I still have my difficulties with it, really trying to find the "right" way to solve the problem I have.
Just try to get the concept, and know that there are certain patterns you can use for correctly structuring and architecting your code.
E.g. factory pattern, dependency injection, observer, etc.
Just try to get the concept, and know that there are certain patterns you can use for correctly structuring and architecting your code. E.g. factory pattern, dependency injection, observer, etc.