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

The readability really depends on your tools. There are state-machines compilers that generate code with e.g. #line directives that hint to the debugger what you want, and even full-fledged IDEs that show the state-transition.

Now if there is a bug in your state-machine compiler, that can be hairy (and it does happen) but the same is true if there is a bug in your C compiler.



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

Search: