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

Back in university, I had a course on reactive systems, a whole semester of state machines and statecharts. I can't stress enough how useful it was in my career.

I've retrofitted some near unmaintainable embedded systems, and one of the easiest ways to improve spaghetti code is refactoring some of the vars into state machines/statecharts.

Btw, state machines play well with event sourcing and clustering.



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

Search: