Y
Hacker News
new
|
ask
|
show
|
jobs
by
l8no7cougyi
4383 days ago
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.
1 comments
Yahivin
4383 days ago
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.
link
HenrikJoreteg
4383 days ago
Haha, this is an epic typo :) Sorry, will fix.
link
l8no7cougyi
4382 days ago
No problem :) it looks really good - just thought I'd point that out!
link