08-10-2015 05:25 AM
I like the hose analogy. With the definition above, the hose is the storage location of the contained value and with the dataflow a connecting item needs all connections to be able to do something useful. 🙂
It isn't resonsible for it's own variability, it is the symbolic name/container of the value.
/Y
08-10-2015 07:40 AM
Like I said, wires do provide the same basic functionality that variables do (getting data from one function to another), so it's certainly useful to understand the similarity, but it's also important to understand the semantic and syntactic differences. I would actually prefer the variable analogy to the hose analogy, because the data in a hose is continuous and the data in a wire is discrete (data only flows through the wire once, when the wire source is done executing).
There are actually other visual languages where the values are continuous (all the functions run and pass data all the time somehow), but I never looked closely at how exactly they work.
08-10-2015 08:49 AM
I have to say i haven't seen any other visual language, so can't compare to them. 😕
/Y