If anyone wants to add Vonnegut or anyone else please feel free to fork my original code. No reasonable pull request refused :-) https://github.com/angus-c/literaryJavaScript
Mine is up and running - thanks! http://javascriptweblog.wordpress.com
Hi Swizec - maybe the article could have been clearer - the real point was this: now that our standard iteration pattern has made obsolete by higher order functions (forEach, filter, map etc. - which are available…
Hi Daniel - I wrote the article. You reference some excellent high order functions, we now also get pretty much the same functions for free in every browser except IE8. We get them with jQuery and Prototype.js too. But…
You said "I don't like the keyword "if" so I'm hiding it with && and || because I haven't thought deep enough about a better way of structuring my code" In addition to talking about ternaries, guards and…
Did you read the entire article?
Hi - I 'm the author of this post. A few comments: 1) It wasn't my intention to create a holy war. There are good arguments on both sides. I use ifs and fors in my own code and will continue to do so. 2) Over the years…
If anyone wants to add Vonnegut or anyone else please feel free to fork my original code. No reasonable pull request refused :-) https://github.com/angus-c/literaryJavaScript
Mine is up and running - thanks! http://javascriptweblog.wordpress.com
Hi Swizec - maybe the article could have been clearer - the real point was this: now that our standard iteration pattern has made obsolete by higher order functions (forEach, filter, map etc. - which are available…
Hi Daniel - I wrote the article. You reference some excellent high order functions, we now also get pretty much the same functions for free in every browser except IE8. We get them with jQuery and Prototype.js too. But…
You said "I don't like the keyword "if" so I'm hiding it with && and || because I haven't thought deep enough about a better way of structuring my code" In addition to talking about ternaries, guards and…
Did you read the entire article?
Hi - I 'm the author of this post. A few comments: 1) It wasn't my intention to create a holy war. There are good arguments on both sides. I use ifs and fors in my own code and will continue to do so. 2) Over the years…