2 ms·
Classes are everywhere, but are used in different ways or hidden. There are types of classes that are hidden and cannot be re-instantiated. To me, those are m
by dana321 7y ago
Classes are everywhere, but are used in different ways or hidden.
There are types of classes that are hidden and cannot be re-instantiated.
To me, those are modules and the main execution environment.
Whenever i've been caught out when coding its always one or both of these things, so i always wrap these in a class otherwise when it comes to reusing something multiple times you're caught short.
So, i always use classes for base functionality.
But i don't throw them around like sugar candy.