3 ms·
I think it's useful to flip the script a bit and ask this question: why are software developers so often stuck writing software with their only abstraction avai
by shadowgovt 4y ago
I think it's useful to flip the script a bit and ask this question: why are software developers so often stuck writing software with their only abstraction available being text? Isn't that working with one hand tied behind their back?
I do a lot of work in geometric tools, and the fact that the best thing that we have for unit tests is to painstakingly construct objects by specifying their coordinate space hurts. Our team gained a lot of velocity on building and maintaining unit tests by simply writing a tiny graphical tool to convert back and forth between a text representation of a coordinate space and a visual representation, because visual presentation is far better for the average human than a text description for a bunch of circles and rectangles. The signal gets lost in the noise.
I also still think there's meat on the bones of tooling that makes it harder or impossible to craft invalid programs. When we're editing text files, a modern IDE will throw some red underlines under the text when we've written something that it knows won't compile, which is a massive step in the right direction. But contrast that with humble Scratch, which makes it structurally impossible to write an invalid program as you go (incomplete, yes, but an incomplete program is obvious because it will have unfilled slots). I wonder sometimes if tooling that treated the syntactic components of a language as things, not strings, would actually allow developers to move faster with some training.
- zozbot234 4y agoStructural editors are not a new idea. They have well-known drawbacks wrt. supporting incremental editing of program text, which as a rule requires "passing through" invalid representations. This actually makes them quite unintuitive for such tasks. OTOH, modern editing tools, such as "language servers", provide most of the advantages without the aforementioned issues.