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

Meta programming is my largest complaint with Ruby. It creates huge surprises that are very difficult to inspect and debug.


We ban most meta programming in our own code. While the meta programming solutions are fun and clever they are often more code than a functional version and hard to maintain.

We do allow the occasional use of “send” but try to avoid it. Dynamic method definitions are strictly banned.




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

Search: