2 ms·
I understand this is just a dummy example, but to make the code easier to read and understand you should inline functions that are only used once, unless it has
by z3t4 10y ago
I understand this is just a dummy example, but to make the code easier to read and understand you should inline functions that are only used once, unless it has a lot of reusability. There's a fine line between abstraction and obscurity.