News for hackers. Stuff that matters.
Re:Visual Programming Languages – Snapshots by jnbiche on Tuesday April 22, 2014 @06:13AM (#7626746)
Looking at all these visual programming languages, I'm struck at how complex many of them are.

For example, I can almost always understand a recursive Fibonacci generator written in a new procedural or functional language that I've never seen before, yet I struggled to figure out what was happening as some of these visual languages generated the same Fibonacci sequence.

Why create that kind of complexity in an effort to avoid text?

Re:Visual Programming Languages – Snapshots by bergie on Tuesday April 22, 2014 @06:25AM (#7626782)
Because generally you'll want to deal with a bit higher-level structures using the visual paradigm. So, a Fibonacci generator should be just a box, not a whole graph.

Visual programming can help keeping track of data flows within complex and/or parallel programs.

Re:Visual Programming Languages – Snapshots by arethuza on Tuesday April 22, 2014 @07:14AM (#7626935)
I rather like Martin Fowler's view of diagrams being sketches used to communicate rather than blueprints from which to build stuff:

"comprehensiveness is the enemy of comprehensibility"

I like nice simple diagrams (I joke to colleagues about having a limited budget for boxes and arrows or drawing things in crayon) - having these kinds of things where you try and include everything in your diagram seems to miss the point to me.

http://martinfowler.com/bliki/UmlAsSketch.html

Re:Visual Programming Languages – Snapshots by bergie on Tuesday April 22, 2014 @07:23AM (#7626970)
Yeah, except that in our system the graphs are still executable: http://noflojs.org/
Re:Visual Programming Languages – Snapshots by arethuza on Tuesday April 22, 2014 @07:31AM (#7626998)
So are your components written directly in a "lower level" language (JavaScript etc.) and then the high level structure relating those components defined in the diagrams?
Re:Visual Programming Languages – Snapshots by bergie on Tuesday April 22, 2014 @07:39AM (#7627026)
Yep, in NoFlo you write components in JavaScript, though you can also use other diagrams as "subgraph" components.

In other environments compatible with the FBP protocol (http://noflojs.org/documentation/protocol/) the components may be written in other languages. For example, MicroFlo components for microcontrollers are C++.

Re:Visual Programming Languages – Snapshots by arethuza on Tuesday April 22, 2014 @07:55AM (#7627085)
Thanks - that makes sense. I just get a bit nervous with the idea that it makes sense to use a diagram-based representation all the way down the stack.
Re:Visual Programming Languages – Snapshots by bergie on Tuesday April 22, 2014 @08:49AM (#7627290)
Here is one example of a project where we used FBP on Node.js, browser, and microcontrollers. The components in the graph you can see there are quite high-level:

http://bergie.iki.fi/blog/ingress-table/

Re:Visual Programming Languages – Snapshots by jayd16 on Tuesday April 22, 2014 @10:54AM (#7627998)
At what point does a visual program become low level enough to not just be a architectural whiteboard session?