+ 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

6th Apr 2020, 1:03 PM
Sai Deepika Kathiri
Sai Deepika Kathiri - avatar
10 Respostas
+ 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.
6th Apr 2020, 1:18 PM
HonFu
HonFu - avatar
+ 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.
6th Apr 2020, 2:16 PM
Gordon
Gordon - avatar
+ 3
Watch tech with tim.hes got a amazing tutorial on why we use oop
6th Apr 2020, 1:09 PM
LoloXploit
LoloXploit - avatar
+ 3
Tq
6th Apr 2020, 1:18 PM
Sai Deepika Kathiri
Sai Deepika Kathiri - avatar
+ 2
Ok..is it youtube channel LoloXploit
6th Apr 2020, 1:15 PM
Sai Deepika Kathiri
Sai Deepika Kathiri - avatar
+ 2
Yess !! Hes da bomb Ive only been coding for 5 months
6th Apr 2020, 1:17 PM
LoloXploit
LoloXploit - avatar
+ 2
He makes things easy to understand ;)
6th Apr 2020, 1:17 PM
LoloXploit
LoloXploit - avatar
+ 2
Tq for information to all😊
7th Apr 2020, 2:42 AM
Sai Deepika Kathiri
Sai Deepika Kathiri - avatar
+ 1
How to insert image from mobilegallery
8th Apr 2020, 4:41 AM
Indian lover Adarshyadav
Indian lover Adarshyadav - avatar
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.
6th Jun 2020, 6:39 PM
Илья Харченко
Илья Харченко - avatar