News for hackers. Stuff that matters.
Re:Human JavaScript by l8no7cougyi on Thursday June 26, 2014 @01:39PM (#7950722)
In the 'Writing code for humans.' section are the first three code examples meant to do the same thing? The first and third check whether the array contains 'hello' but the second does the opposite.
Re:Human JavaScript by Yahivin on Thursday June 26, 2014 @02:21PM (#7950892)
I guess it wasn't so clear after all. I think this makes the third example even stronger: use a method that is named what it does.
Re:Human JavaScript by HenrikJoreteg on Thursday June 26, 2014 @05:41PM (#7951712)
Haha, this is an epic typo :) Sorry, will fix.
Re:Human JavaScript by l8no7cougyi on Friday June 27, 2014 @04:37AM (#7953190)
No problem :) it looks really good - just thought I'd point that out!