http://www.perlmonks.org?node_id=149402


in reply to Re: Re: A preliminary stab at Flow-Based Programming
in thread A preliminary stab at Flow-Based Programming

Let me see if I can restate what you just said. The major conceptual difference between state machines and FBP is that FBP could have output from one state potentially go to more than one state at the same time. State machines, ordinarily, cannot.

Personally, as I never studied state machines in school (as such), but learned about them on the job, I never had that restriction on them. Why would that restriction be placed?

Now, I'm thinking that another way to look at it is the difference between procedure-based analysis and data-based analysis. State machines are more concerned with the actions that can take place. FBP is more concerned with the data that is moving through the system. Right?

------
We are the carpenters and bricklayers of the Information Age.

Don't go borrowing trouble. For programmers, this means Worry only about what you need to implement.

  • Comment on Re3: A preliminary stab at Flow-Based Programming

Replies are listed 'Best First'.
Re: Re3: A preliminary stab at Flow-Based Programming
by Masem (Monsignor) on Mar 05, 2002 at 15:48 UTC
    I think that
    State machines are more concerned with the actions that can take place. FBP is more concerned with the data that is moving through the system.
    is a fair assessment of the differences. With a state machine, you want to make sure that you can move through the states of the machine to some valid exit state; if so, then the machine has succeeded, else you failed. With FBP, you push data in and wait for data out, but if nothing comes out, that's just a valid response as if you did get data.

    -----------------------------------------------------
    Dr. Michael K. Neylon - mneylon-pm@masemware.com || "You've left the lens cap of your mind on again, Pinky" - The Brain
    "I can see my house from here!"
    It's not what you know, but knowing how to find it if you don't know that's important