in reply to Ternary vs. Sort vs. Max
The max version has the huge advantage that it actually says what the intent of the code is. The other variants require at least some pattern recognition or, worse, some thought to interpret.
Premature optimization is the root of all job security
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Ternary vs. Sort vs. Max
by BrowserUk (Patriarch) on Aug 10, 2015 at 10:26 UTC | |
by Jenda (Abbot) on Aug 10, 2015 at 23:01 UTC |
In Section
Meditations