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

Oh yeah, that's the worst. Since logic related to a behavior must be split up across multiple methods, it's really hard to tell if you've actually implemented it correctly. With effects, the setup and teardown is in the same function and can be moved around as a unit.



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

Search: