Re:Say What You Mean (in JavaScript)
by edw519 on Tuesday May 18, 2010 @04:37PM
(#1358963)
The old rule of thumb was, "Online, go for readability. Batch, go for speed." This almost always translates into, "Online, use 'if' or 'case'. Batch, use Boolean."
In the first case, maintenance programmers will thank you. In the second, users processing millions of records will thank you.
In the first case, maintenance programmers will thank you. In the second, users processing millions of records will thank you.