3 ms·
Huh? Modularity has nothing to do with classes. In plain C, your main "method" can be a simple external function, and the "helpers" can be static functions. Py
by quotemstr 15y ago
Huh? Modularity has nothing to do with classes.
In plain C, your main "method" can be a simple external function, and the "helpers" can be static functions. Python offers similar functionality.
Making a class is a step backward because the internal helpers have to exposed to users, even if they're intended not to be used.
- Drbble 15y agoExposed how? Methods can be private.