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

As someone who writes basically only C++ and Python, that code looks like a nightmare.

Python has the `@property` decorator, which effectively disguises method calls as attribute access. To me, that's as bad, if not worse, than the ruby code posted above.

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