+ 1
What happen if we does not use class ?
7 Réponses
+ 7
You cannot create objects if you don't use a class :D
s̶t̶r̶i̶k̶e̶t̶h̶r̶o̶u̶g̶h̶
+ 6
C, the ancestor of C++, didn't support classes and it worked.
They are a great feature, though. And if you do it right, they consume literally zero additional performance.
+ 4
I don't use class. It depends on the type of project you are creating.
+ 3
Dev how do you made your text strike through, For me its not possible in the comments section
+ 3
no class=no OOP'S= no private members = no objects =insecure code = and much more drawbacks.
+ 2
Well, nothing?
It depends on your task whether to use classes (OOP style) or not