|
|
|
|
|
by olewhalehunter
3215 days ago
|
|
Tim Teitelbaum, one of the first researchers on IDEs summarized problems like this in a quote from one of his papers. "Programs are not text; they are hierarchical compositions of computational structures and should be edited, executed, and debugged in an environment that consistently acknowledges and reinforces this viewpoint." It is unfortunate that most major code editors and IDEs today do not store units of code (like Lisp SEXPs) as databases to be updated as you edit, which would make problems like this or other operations like metaprogramming, formal analysis, or documentation much easier to solve. |
|
It's cool, but it has some major downsides too. For example, MPS stores the source as XML, not text (since it isn't text, it's a tree). This makes lots of basic tools we've taken for granted a lot harder, such as git merging etc. They've had to make a custom mergetool just to make basic collaborative coding feasible.
I bet there's other ways around that, all I'm saying is that text has major, major upsides because of the enormous ecosystem support.