News for hackers. Stuff that matters.
Re:Why developers should be force-fed state machines by kreneskyp on Monday June 13, 2011 @02:00PM (#2649987)
The problem is that many apps are looking at the wrong states when they design their machine.

For instance I worked on an app someone had build in which states were based on a multi-page html form. When I added an android app allowing offline data collection, I then had to hack around the state machine. We couldn't just create a instance of the object with the final data, we had to write code that replicated the submissions of the html form.

Re:Why developers should be force-fed state machines by jbrechtel on Monday June 13, 2011 @10:52PM (#2651622)
This echos my experiences exactly. I've found little value in state machines as a frequently used pattern. Abuses abound and I've also ran into the multi-page-html-form-as-a-state-machine anti-pattern. It's horrid and should not be done.