Skip to content

Commit

Permalink
Clever doesn't mean better
Browse files Browse the repository at this point in the history
  • Loading branch information
rwaldron committed Apr 16, 2012
1 parent f4e1087 commit 6dabcc7
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 5 deletions.
15 changes: 11 additions & 4 deletions contributors.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
* Rick Waldron [@rwaldron](http://twitter.com/rwaldron)
* Mathias Bynens [@mathias](http://twitter.com/mathias)
* Schalk Neethling [@ossreleasefeed](http://twitter.com/ossreleasefeed)
* Kit Cambridge [@kitcambridge](http://twitter.com/kitcambridge)
* Rick Waldron [@rwaldron](http://twitter.com/rwaldron), [github](https://github.com/rwldrn)
* Mathias Bynens [@mathias](http://twitter.com/mathias), [github](https://github.com/mathiasbynens)
* Schalk Neethling [@ossreleasefeed](http://twitter.com/ossreleasefeed), [github](https://github.com/ossreleasefeed/)
* Kit Cambridge [@kitcambridge](http://twitter.com/kitcambridge), [github](https://github.com/kitcambridge)
* Raynos [github](https://github.com/Raynos)
* Matias Arriola [@MatiasArriola](https://twitter.com/MatiasArriola), [github](https://github.com/MatiasArriola/)
* Idan Gazit [@idangazit](http://twitter.com/idangazit), [github](https://github.com/idangazit)
* Leo Balter [@leobalter](http://twitter.com/leobalter), [github](https://github.com/leobalter)
* Breno Oliveira [@garu_rj](http://twitter.com/garu_rj), [github](https://github.com/garu)
* Leo Beto Souza [@leobetosouza](http://twitter.com/leobetosouza), [github](https://github.com/leobetosouza)
* EngForDev [engfordev](http://www.opentutorials.org/course/167/1363) - Hwan Min Hong / MinTaek Kwon [@leoinsight](http://twitter.com/leoinsight) / Tw Shim [@marocchino](http://twitter.com/marocchino), [github](https://github.com/marocchino) / Nassol Kim [@nassol99](http://twitter.com/nassol99), [github](https://github.com/nassol) / Juntai Park [@rkJun](http://twitter.com/rkJun), [github](https://github.com/rkJun) / Minkyu Shim / Gangmin Won / Justin Yoo [@justinchronicle](http://twitter.com/justinchronicle) / Daeyup Lee
11 changes: 10 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -560,6 +560,15 @@ The following sections outline a _reasonable_ style guide for modern JavaScript
!!~array.indexOf( "d" );
// false
// Note that the above should be considered "unnecessarily clever"
// Prefer the obvious approach of comparing the returned value of
// indexOf, like:
if ( array.indexOf( "a" ) >= 0 ) {
// ...
}
var num = 2.5;
Expand Down Expand Up @@ -617,7 +626,7 @@ The following sections outline a _reasonable_ style guide for modern JavaScript
// instead of this:
if ( foo === true ) ...
// ...evaluate like you mean it, take advantage of it's primitive capabilities:
// ...evaluate like you mean it, take advantage of built in capabilities:
if ( foo ) ...
Expand Down

0 comments on commit 6dabcc7

Please sign in to comment.