Should I learn object oriented? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Should I learn object oriented?

like classes init self... cuz I can't understand them

27th Jun 2016, 2:33 PM
Oyuncu Doruk
Oyuncu Doruk - avatar
5 Answers
+ 4
Think of OOP as a way of bringing real world objects and instances into programming. it helps you define something like an employee in business software, a shortcut on the desktop, or an avatar for a game. then you can give each of those things attributes for their age, length of employment, size program being accessed, color, type of player etc. then you have a way for the user to dynamically create a new instance for each object and you don't have to statically assign everything in the program.
22nd Jul 2016, 2:20 PM
Adam Smith
Adam Smith - avatar
+ 2
I struggled a lot in that section and I'm sure we're not alone. Definitely get through it though. Classes seem really important. I needed to look up additional info online, so do that if you must. If you really don't understand a part in the section then guess on the quiz, but for the most part struggle through and learn it!
27th Jun 2016, 3:37 PM
Dean
+ 1
I feel you, sir. Functional and procedural fit my brain, but OOP doesn't work out at all. Despite that, however, I think it's quite important to learn OOP because most, if not all, GUI packages use OOP for interface design. Plus, it's good to know multiple paradigms for when you need to mix and match different ones.
29th Jun 2016, 8:30 AM
Lari Liuhamo
Lari Liuhamo - avatar
0
OOP is the current paradigm and an important part of programming. Take your time to fully understand the concept.
30th Jun 2016, 4:05 AM
Trevor Seitz
Trevor Seitz - avatar
0
you can't program without classes
3rd Jan 2017, 4:49 AM
G SAMPATH KUMAR