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

> Just because you CAN do something doesn't mean you SHOULD

This is hacker news, not "production code" news. Abusing things in unexpected ways is pretty much the definition of hacking.

Many people seem to be jumping on this article as if the author was suggestion a new programming pattern we should start using, rather than an interesting look at some of the lesser-known quirks of ruby. I'm pretty sure even the author would agree that triple nested method definitions are not something we should use for production code.



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

Search: