▲ | sirwhinesalot 4 days ago | |||||||||||||||||||||||||||||||
I wrote an article saturday on visual programming which is very related to this, but my thinking is the opposite of this article. Raw text is amazing at smaller scales. The ability to apply a bunch of intermediate incorrect transformations to reach a valid destination is invaluable (like doing a bunch of hacky find/replace). Projectional editors like JetBrains MPS have tons of disadvantages vs text, and the few advantages don't make up for it. Formatting is a silly problem to have, but far beyond that why are we manipulating text files directly rather than editing a live program (ala Smalltalk). Text can just be the on-disk serialization format you never look at. (Raw text is still how you edit individual functions and methods in Smalltalk, there just isn't any actual text file on disk) | ||||||||||||||||||||||||||||||||
▲ | whartung 3 days ago | parent | next [-] | |||||||||||||||||||||||||||||||
My singular problem with visual programming is simply the amount of detail necessary in modern programming. Code is flat out complicated, with lots and lots and lots of steps, each with perhaps even more detail. And it's hard to do that efficiently with visual editors. Imagine a display with instead of thousands of lines of code, you have thousands of symbols. Or, the visual editors break things down in to components that are so small they do not convey the "big picture" well. It's a personal complaint with the way Smalltalk works. Lots of methods, small (ideally) snippets of code, all viewed in isolation. It's common (at least for me) to put related code together in the source file. It's useful to scan the whole file to get a feel for the flow of the code, and the system. Looking at isolated code, out of context, has always been a struggle for me. There's a reason my code is not sorted alphabetically by function name. Maybe if you organized code visually, that is, perhaps the upper left is the start up code, the lower right is some core math all collected together like beads in a pot. "All red ones go here, all the 1" ones go there". Granted I have not worked on such a tool or such a project. But the linear presentation of code as structured text has worked well for me, even when I bounce around between modules in the IDE. | ||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||
▲ | MaxLeiter 4 days ago | parent | prev [-] | |||||||||||||||||||||||||||||||
Drop a link! | ||||||||||||||||||||||||||||||||
|