Object-Oriented Programming (OOP) is a programming paradigm that uses "objects" and their interactions to design and program software applications. Objects are instances of classes, which can contain data (attributes) and methods (functions or procedures) that operate on that data. https://chat-to.dev/post?id=452
Yes and no. I generally avoid it and have for years. But my code has probably suffered for under-utilizing it.
The problem is when object orientation is your only trick and everything has to be layers on layers of classes. So yes, object orientation is bad in Java when it is already flooded with it.
But it is good to use sparingly in javascipt.
Basically a good coder can do everything in functional programming but doesn't. Can do everything in iterative programming but doesn't. Could, and mostly does code everything in a mixture of the two, and uses some object orientation to tidy up some code.
If you use object orientation to organize the entire structure of a project you are now in java territory. You should go get hired by facebook to be one of 100,000 useless programmers.
[ + ] GrayDragon
[ - ] GrayDragon 4 points 10 monthsJul 1, 2024 19:01:26 ago (+4/-0)
Object-Oriented Programming is Bad:
https://www.youtube.com/watch?v=QM1iUe6IofM
[ + ] x0x7
[ - ] x0x7 0 points 10 monthsJul 1, 2024 22:51:13 ago (+0/-0)
The problem is when object orientation is your only trick and everything has to be layers on layers of classes. So yes, object orientation is bad in Java when it is already flooded with it.
But it is good to use sparingly in javascipt.
Basically a good coder can do everything in functional programming but doesn't. Can do everything in iterative programming but doesn't. Could, and mostly does code everything in a mixture of the two, and uses some object orientation to tidy up some code.
If you use object orientation to organize the entire structure of a project you are now in java territory. You should go get hired by facebook to be one of 100,000 useless programmers.
[ + ] v0atmage
[ - ] v0atmage 3 points 10 monthsJul 1, 2024 19:39:11 ago (+3/-0)
[ + ] Master_Foo
[ - ] Master_Foo 0 points 10 monthsJul 1, 2024 19:56:04 ago (+0/-0)
[ + ] byte
[ - ] byte [op] 0 points 10 monthsJul 1, 2024 18:35:06 ago (+0/-0)