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

> If your listener depends on knowing the state of the triggering code, it is a sign your events are too granular.

That isn't practical debugging. If I'm debugging an event that was fired and I don't know why, or the payload doesn't match my expectations, it would be very useful to inspect the state of the triggering function and see where things went wrong.



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

Search: