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

They're used all the time. A workflow engine is basically a big state machine. They're used all the time in the Enterprise.

In object orientated software engineering the State pattern is a pattern for cleanly implementing a state machine* whilst avoiding horrible switch or massive nested if-then statements.



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

Search: