3 ms·
>No programmer I know would want to use a visual programming language at all, even with an option to fall into a full text-based programming language. You'd be
by coldtea 9y ago
>No programmer I know would want to use a visual programming language at all, even with an option to fall into a full text-based programming language.
You'd be surprised. The biggest programming language in actual use is Excel -- which is a case of a visual programming language (turing complete at that), even if it has cells in a grid as opposed to some flow diagram.
And lots of people are programming with visual languages inside tools like compositing pipelines, musical environments like Max/MSP, CAD and 3D packages, business logic definition apps and so on -- with the most popular case perhaps being visual game engines.
- baldfat 9y ago> The biggest programming language in actual use is Excel Which has cost companies and investors billions and is the most accident prone. http://www.zdnet.com/article/excel-errors-microsofts-spreadsheet-may-be-hazardous-to-your-health/ http://www.zdnet.com/article/excel-errors-microsofts-spreads... No Version control no way to audit your code. These also come with visual programs.
- DonaldFisk 9y agoAll mainstream version control systems (e.g. cvs, perforce, git) are designed for text but otherwise language agnostic. They are unsuited to visual languages which don't have a textual equivalent. Existing visual languages might not have good version control, but you certainly can provide it. See http://austinhenley.com/pubs/Henley2016VLHCC_Yestercode.pdf http://austinhenley.com/pubs/Henley2016VLHCC_Yestercode.pdf
- coldtea 9y ago>Which has cost companies and investors billions and is the most accident prone. Since it handles untold trillions (almost every company processes their financial data through Excel at multiple points) the "billions" it might have cost is a drop in the bucket. There's a reason why it's used nonetheless. >No Version control no way to audit your code. These also come with visual programs. There's nothing about visual programs that say "no version control" (and of course auditing the code is even easier with visual programs). You either add visual-nodes aware version control, or with a text serialization and back, you use git or whatever.
- TorKlingberg 9y ago> There's nothing about visual programs that say "no version control" Well, this is one of those "in theory" things. In practice diffing and merging visual programs never works well, if at all. Usually nobody has developed the tools for a particular binary format. Visual programming also has a lot of non-functional information like the exact placement of items. Textual code has indentation and such too, but not as much. To keep visual code clean you need to move it around often, but how to you merge that with other changes?
- icebraining 9y agoThat's true, but I wonder if that's not a result of having too few of them, which makes it harder to abstract basic components that can work for many languages, like letters and lines in text. Imagine saving the visual programs as SVG images of boxes and lines, with properties attached. Then you could easily make a generic merging tool that worked on those objects. It would sometimes make senseless combinations, but so do text version control utilities. Likewise, merging a move would be implementable, even if the result might have to be tweaked manually. But then again, git and hg have merge conflicts too.
- carlmr 9y agoHuman language evolved over years to let us describe everything in detail on a very abstract level. Computer languages inherit a lot these features from human language. My favorite analogy: Visual programming languages are like a foreigner going to a Korean McDonald's. He can grunt at pictures and get what he points at, but he can only do a limited set of things that were envisioned by the menu planner. You can't get the burger without tomatoes by grunting.
- coldtea 9y ago>My favorite analogy: Visual programming languages are like a foreigner going to a Korean McDonald's. He can grunt at pictures and get what he points at, but he can only do a limited set of things that were envisioned by the menu planner. You can't get the burger without tomatoes by grunting. Also a wrong analogy. You can have 100% power/syntax parity between a visual language and any text language.
- carlmr 9y agoYou can make a McDonald's menu that can represent everything you want to say in a text language with 100% power/syntax parity. But then it becomes too burdensome for the user. Just like most visual programming languages that have all these features make things much more complicated just to make it visual.