OOP is too hard...
I can't learn OOP! I tried that with python and c# but I don't understand anything. What do I do? Please help. Note: I have a book for learning js (Stive Suehring's book). Should I learn OOP with that?
Try to learn Java, it's really good for OOP
I would just stick to functions (if the language allows it) for a while. After some time, classes will naturally start to make more sense.
theres a mit course in youtube with OOP it really helps me.
AZunderstars for me it took a while.. I started with basic coding... I have started moving into the more advanced topics like OOP... writing code has helped me more so than reading a book. I'm not knocking reading as it is important too. For most individuals, it takes a while to fully understand... you are not alone... I am not familiar with that book. the concept of OOP will be the same in an OOP language... I have seen a few different explanations on OOP. Some authors do a better job at it than other authors.... you might also try youtube... there are some good tutorial videos.. which may help... sometimes seeing it visually and walking through the code with someone helps
nope...... it becomes hard after learning....... 😊
You must try to remember and try to coding with what you've learning before about OOP for phyton or C#. Its the important way to learn OOP.
yes, OOP is hard espcially for beginners. I remembered learning OOP in C# during my second year at university. I spent most of my time in both semesters to read and practise many sections in a C# book which consists of over 200 pages that is about OOP. Honestly, over 200 pages should not take that long. I think the most difficult thing is the concepts. Be patient and learn the concepts and then practise. You don’t need to learn OOP in different languages when you start your first learning. You said you had tried Python and C#. I’ve learnt both Python and C#. I think it’s a better choice to learn OOP in C#. C# is a true OOP language while Python supports both OOP and funtional programming. After learning OOP in one programming language, it’s not really difficult to learn in the others.
OOP is based on describing real/imaginary world, objects can be people, animals, cars, etc. And methods/functions are what they can do. For teaching the understanding OOP we use JAVA, that is natively OOP and you could use simple IDE "BlueJ", which can kind-of visualise objects.
Learn OOP with real time examples. For example,take objects as a real time entity.e.g.Person as a object and what operations he can do are the methods.A person can walk ,read and write too.So these are the methods of the object Person.Class is user defined data type in which we can bind the information of person and methods of person together.. How to use classes with object,this is all about OOP..
Well,don't worry.It is not so hard as you mean. OOP is the answer to many pitfalls in pure structural programming.For that reason you should not understand the concept at the moment. It is not about the language itself but it is mainly about the architecture and concept of the software. Lots of examples in the books are ideologically right but they are not usable in the real projects.Python is not good to start with OOP. Much better is Java or C#.It is important to understand the concept about inheritance and encapsulation.Inheritance is powerfull princip that allows you to avoid the copy the same part of code in different parts sw.Encapsulation allows you to hide the internal implementation of the object and use only interface and public functions. More difficult to understand is polymorphism,you can leave it for the future. On the base of these principels are created desing patterns which sloves the moste challenges or softwares difficuties. Good luck 🤘
try learning OOP with UML (Unified Modeling Language). It will help you to understand objects visually
that's ok , OOP is broken, use functional programming language like clojure etc., it;s not your fault.
BMI calculator code project
How to create a border
Overloading + operator