Ubiquitous use OOP is bad? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Ubiquitous use OOP is bad?

7th Dec 2017, 10:55 PM
mrkassper
mrkassper - avatar
4 Answers
+ 3
Simple answer: use it when you need to. If you have a code just to output something, I doubt creating an entire class is necessary (unless your job is to create the most confusing code in history). But if you are making a game with many monsters and heroes, it is better to use classes and OOP concepts. (Again, of course, unless your job is to create the most misleading and complex code history has to offer).
8th Dec 2017, 2:23 AM
blackcat1111
blackcat1111 - avatar
+ 4
your question is ambiguous
7th Dec 2017, 11:44 PM
D_Stark
D_Stark - avatar
0
I mean that oop can simplify the writing of code, but it can also negatively affect its quality, and lately programmers will use it where it is not really in demand and it would be better to be without it
7th Dec 2017, 11:49 PM
mrkassper
mrkassper - avatar
- 1
It should be used in every coding, it's better way to code, codes organised in systematically way.
8th Dec 2017, 12:08 AM
Calviղ
Calviղ - avatar