News for hackers. Stuff that matters.
Re:Why Developers Never Use State Machines by albertzeyer on Thursday September 01, 2011 @10:51AM (#2950228)
This is a stupid statement. Pretty much every code depends on a state (i.e. the content of the heap memory) and is thus a state machine (by its most generic definition).

I think he is referring mostly to a finite state machine, though. But even then, you have that quite often somehow in your code (think of global boolean variables).

Re:Why Developers Never Use State Machines by marshray on Thursday September 01, 2011 @11:43AM (#2950450)
Well the memory available to the processor for state is finite, too. Thus, every classical computer is a finite state machine.

That said, some programs have state that is more finite than others. :-) Deep down, a "state machine-based design" is a mindset of the designer.

Re:Why Developers Never Use State Machines by deepinit_a on Friday September 02, 2011 @01:21PM (#2954828)
Well said!