|
|
|
|
|
by aleem
4500 days ago
|
|
Touche. Multiple monitors and more screen real estate has been proven to increase productivity. It's an easy win. If the lines come out too long too often, it may be a symptom of other problems. if ((browser.OS == 'win') && (browser.userAgent == 'IE')) {
is often better written as: isIE = (browser.userAgent == 'IE');
isWindows = (browser.OS == 'win');
if (isIE && isWindows) {
It's self-documenting and reads like natural english. It also has the good side-effect of making lines shorter, more terse. |
|