2 ms·
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 Boo
by edw519 16y ago
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.