Just rolled my eyes at this point in the thoughtbot style guide for CoffeeScript http://i.imgur.com/j7nXJVN.png use === and !== if not is/isnt :/
-
-
Replying to @thetombell
@thetombell why? Double equals is equivalent to tripple equals in coffescript.1 reply 0 retweets 0 likes -
Replying to @derekprior
@derekprior ah I did not know that, I always thought == was == and is was ===, learn something new every day, thanks!1 reply 0 retweets 0 likes -
Replying to @thetombell
@thetombell@derekprior Nope, there's no equivalent to JS `==` in CoffeeScript. The style guide piece is for cross-language consistency1 reply 0 retweets 0 likes -
Replying to @sgrif
@sgrif@derekprior personally I’d be explicit with `===` over `==`1 reply 0 retweets 0 likes
Replying to @thetombell
@thetombell @derekprior === is a syntax error in CoffeeScript
7:43 AM - 11 Aug 2014
0 replies
0 retweets
0 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.