156 reputation
6
bio website
location San Francisco, CA
age
visits member for 2 years, 11 months
seen May 7 at 15:38

Entrepreneur + programmer, always a kid!


Feb
25
awarded  Popular Question
Apr
10
awarded  Editor
Apr
10
revised Readability of || statements
change `!jQuery` to `!window.jQuery` so it doesn't throw an error
Apr
10
comment Readability of || statements
Also noticed we can flip the boolean statement logic to be !window.jQuery && document.write( -local jQuery- );
Apr
10
suggested suggested edit on Readability of || statements
Apr
10
comment Readability of || statements
So the idea is to teach a trick. -legitimate- but H5BP puts a stamp on everything saying essentially this ok, often probably being interpreted as the recommended way. (For H5BP) it's a matter of what's most valued - I say K.I.S.S. I vouch for stupid simple code that is really obvious. Either way developers are learning how to do a local fallback, eliminating clutter around how to do that I think would be best. Local fallback is a good trick. Short circuit statements, bad trick. Teach only good tricks?
Apr
10
suggested suggested edit on Readability of || statements
Apr
10
awarded  Student
Apr
10
accepted Readability of || statements
Apr
10
asked Readability of || statements
Oct
30
comment 'Recommended' file length and line widths
This is the most helpful guideline, thank you so much!
Oct
30
accepted 'Recommended' file length and line widths
Oct
29
comment 'Recommended' file length and line widths
It's the same concept - the square area you have to scroll around, whether that's horizontal or vertical.
Oct
29
awarded  Supporter
Oct
29
awarded  Scholar
Oct
29
asked 'Recommended' file length and line widths
Aug
13
awarded  Autobiographer