+ 12
General doubt
Whats the use of objedt oriented programs.generally i learned these concepts theoretically...but when the problem questions are given like in hackerrank or hacker earth ..etc...we doesnt use any oop concept to solve the code.then where would we use.i have just 1 and half year experience in coding...i .dont know whether it is right way of asking question or not
10 odpowiedzi
+ 19
In most of these problems you are supposed to figure out an algorithm of some sort, and it will be tested automatically.
A setup, where you fill a function body with a few lines of code and then it is called and evaluated, is just most convenient.
Real programs may consist of tens of thousands or even millions of lines of code, so if you want to stay in control, you need to modularize.
Personally, I've only written little programs, few hundred lines, and there you wouldn't necessarily feel the effect. I guess, as soon as your projects grow, OOP will gradually make more sense.
+ 5
Try to learn to code a game.
Here is a tutorial by Happy To Help :
https://code.sololearn.com/WvIsS7qN8npX/?ref=app
With heavily repetitive elements, you can see the need to use OOP.
+ 3
Watch tech with tim.hes got a amazing tutorial on why we use oop
+ 3
Tq
+ 2
Ok..is it youtube channel LoloXploit
+ 2
Yess !! Hes da bomb Ive only been coding for 5 months
+ 2
He makes things easy to understand ;)
+ 2
Tq for information to all😊
+ 1
How to insert image from mobilegallery
0
Is there native english-speakers? We can discuss some python topics. You can study new concepts from this discussion and I can improve my English skills. Text me, please.