6 thoughts on “What you May Not Know About JavaScript’s Logical AND Operator”
webnician
The purpose of code is not only to cause the intended result, but to intuitively indicate the intent. “Good” languages are known for this correlation and good programmers are known for appreciating it. Shortcuts are only good if you have a hot date, which programmers rarely do.
ptnplanet
Using this “cool stuff” creates – as you said – not so cool, nice and readable code. It’s fine for quick and dirty coding, but I would never use it in production environment or when developing in a team.
DrRhoxus
Using a local jQuery copy if CDN isn’t available is used in the HTML5 Boilerplate by Paul Irish.
It’s a pretty nifty trick I’d say.
Schindlabua
Wow, thats awesome
arquenvaron
That color scheme is awesome.. would love to use that on my Visual Studio
IMPMAC
The loading of JQ if it did not download is good if your in China!
The purpose of code is not only to cause the intended result, but to intuitively indicate the intent. “Good” languages are known for this correlation and good programmers are known for appreciating it. Shortcuts are only good if you have a hot date, which programmers rarely do.
Using this “cool stuff” creates – as you said – not so cool, nice and readable code. It’s fine for quick and dirty coding, but I would never use it in production environment or when developing in a team.
Using a local jQuery copy if CDN isn’t available is used in the HTML5 Boilerplate by Paul Irish.
It’s a pretty nifty trick I’d say.
Wow, thats awesome
That color scheme is awesome.. would love to use that on my Visual Studio
The loading of JQ if it did not download is good if your in China!