4 ms·
> Having a temporary variable to make code more readable is hardly a 'clever thing' Right, but if you're sprinkling your code with temp variables, specially wi
by rualca 6y ago
> Having a temporary variable to make code more readable is hardly a 'clever thing'
Right, but if you're sprinkling your code with temp variables, specially with a language such as C++ where copy elision is far from ensured, then you're already not averse to the idea of instantiating variables left and right.