Hacker News new | past | comments | ask | show | jobs | submit login

Did anyone else thing that the fact that he needed to do

        cache.set_user(user, id=user.id, username=user.username)
twice in his improved solution a bit of a giant red flag?



It was a red flag, but the javascript "curry" solution is like a nuclear explosion of madness.

A pity, because the general idea and techniques in the article are fine, but the examples try so hard to be simple that they fail to illustrate the point: the actual "improved" versions of the code are much worse than the supposedly broken originals.




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

Search: