News for hackers. Stuff that matters.
Re:Of parser-fetishists and semi-colons by chris_wot on Monday April 16, 2012 @07:34PM (#3850078)
Actually, you are all missing Crockford's real point, which is that they are considering making ! a binding deference of function objects. If they do, then this:

  clearMenus()
  !isActive && $parent.toggleClass('open')
Becomes this:

  clearMenus()!isActive && $parent.toggleClass('open');
And not this:

  clearMenus();
  !isActive && $parent.toggleClass('open');
The no semi-colon crowd is ridiculous. There are no good arguments for omitting semicolons!
Re:Of parser-fetishists and semi-colons by chris_wot on Tuesday April 17, 2012 @02:47AM (#3851518)
Why has this been downvoted? If you don't agree, try commenting - don't downvote! Sheesh?
Re:Of parser-fetishists and semi-colons by blasdel on Tuesday April 17, 2012 @02:29AM (#3851471)
there are even fewer good arguments for changing the semantics of the fucking logical negation operator 17 years down the line in a dynamic language with billions of end users and no discrete versioning
Re:Of parser-fetishists and semi-colons by chris_wot on Tuesday April 17, 2012 @02:49AM (#3851521)
About as logical as using the logical negation operator for a purpose other than logical negation. :-)

So, how would you implement this dereferencing feature? given that this wouldn't be an issue if you added a semicolon, not sure why you are so hetup there...