Re:Why isn't there a general purpose visual programming lang...
by jerf on Wednesday July 07, 2010 @11:55PM
(#1496436)
You always see the same basic demo when people show visual languages. Here is your homework. Pull up the source code to the program you most like to use. Take an average-sized function in it. Break it up into a Lisp-like syntax tree. If you have fewer than about a hundred nodes, you are probably cheating; get a bigger function. (The purpose of my asking you to get an average sized function is not to minimize the problems, it is so you can actually complete this task.) Draw this tree on a piece of paper using any visual syntax you like.
If you've still managed to dodge enlightenment, repeat one layer down on all functions your function calls. If you happen to ascribe to the "one method = one line" school of OO design, then this is mandatory, and you have to complete the transitive closure of your call graph. Complexity can not be removed, only moved around. If it took you less than five minutes, you are now assigned to take the largest function in the source code.
You will attain enlightenment.
If you still don't believe me, grab a literal pen and a literal piece of paper and literally, in real life, conduct this exercise until you do believe me. The human mind is quite skilled in handwaving to itself; the paper will not permit that.
If you've still managed to dodge enlightenment, repeat one layer down on all functions your function calls. If you happen to ascribe to the "one method = one line" school of OO design, then this is mandatory, and you have to complete the transitive closure of your call graph. Complexity can not be removed, only moved around. If it took you less than five minutes, you are now assigned to take the largest function in the source code.
You will attain enlightenment.
If you still don't believe me, grab a literal pen and a literal piece of paper and literally, in real life, conduct this exercise until you do believe me. The human mind is quite skilled in handwaving to itself; the paper will not permit that.