12 ms·
I do the same as well as break up the expression with intermediate variables to help explain to someone else (or myself three years down the line) what I was th
by samwillis 5y ago
I do the same as well as break up the expression with intermediate variables to help explain to someone else (or myself three years down the line) what I was thinking. Any compiler/interpreter (for a language you’r using where speed is important) is going to flatten it anyway and so long expressions aren’t going to make your code faster!
Always code for someone to read your code later.