Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I think this proves Ted's point. Look at that code. It is ugly as sin. Since I'm not an expert at node.js, I can't follow what is going on at all. Plus, this is memoizing. That is just cheating, it doesn't matter how you implement the algorithm if it memoizes.

If the creator of this github repo is to be believed, implementing a 3 line algorithm in node, you must use 20 lines of intricate, ugly code. If that is the case, node.js IS cancer.



Node.js can be done in different ways to this, the fact is, that this code works asynchronously, and this is how Node does async.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: