3 ms·
> every form of visual programming I've ever seen is a singular style of some of a box that does processing and a line that connects that box to another box. M
by x-complexity 2y ago
> every form of visual programming I've ever seen is a singular style of some of a box that does processing and a line that connects that box to another box.
Mainly because it's the most straightforward method to:
1) Visualize a contained piece of code / function (box)
2) Show where the output of X goes to (line)
There may be other styles, but this style is the easiest for a newbie to wrap their head around, and is the cleanest method of visualization. The box method can then be used to further wrap a bunch of boxes into a larger box when needed.
- chefandy 2y agoThere are other advantages to this method: easily showing which wires are active while debugging, giving new programmers an intuitive sense of what's happening in control structures like for loops, using color, symbols and line weights to intuitively convey things about data/object types, giving users a complete list of potential methods and parameters without having to look for it, being able to use more complex code shapes to navigate complex classes, people can learn the basics of coding logic without needing to memorize syntax simultaneously... There are obviously tons of shortcomings to visual code, but I do think a lot of the guff they get is unwarranted.
- hermitcrab 2y agoThe subject of textual vs graphical programming comes up so often that I attempted to write a summary of the pros and cons of each. https://successfulsoftware.net/2024/01/16/visual-vs-text-based-programming-which-is-better/ https://successfulsoftware.net/2024/01/16/visual-vs-text-bas...
- chefandy 2y agoNice!