3 ms·
Not an answer, but a thought: Code is really just a seraliazed AST. That tree structure should be modifiable with gestures / voice as much as any other tree st
by nailer 12y ago
Not an answer, but a thought:
Code is really just a seraliazed AST. That tree structure should be modifiable with gestures / voice as much as any other tree structure.
- 0xdeadbeefbabe 12y agoGood thought. For example, if I were telling another human what to type I would start saying things like, "the child of this if statement" instead of "open brace tab tab" or "in the parent function change parameter a to b" instead of "up up up up up up..."
- codecamper 12y agoSeems like a good idea. Only certain things are type-able at any one time. Intellij has this feature called "smart complete".. it just types whatever is required at that moment. Must work on this sort of principle. Seems that you could put voice input into some sort of low-gear mode of just one letter at a time. And that could work well inside IntelliJ with its auto-complete / code gen / refactoring sort of commands.
- TeMPOraL 12y agoYou're not really exposed to the tree structure though, unless you're writing in Lisp.
- nailer 12y agoSure, and you'd have to expose the developer to that tree structure for this to happen. You could take steps to make it look closer to the original serial data (eg, the DOM doesn't have opening and closing tags, but DevTools shows it that way because developers expect it). Or you could come up with a more efficient but less familiar form.
- ics 12y agoThere may be "good enough" parallels in other languages though, for example structured-haskell-mode for emacs.
- unwind 12y agoWhat are some examples of "any other tree structure" that are readily modifiable by gestures/voice, then? That simply didn't sound very familiar to me, so it made me curious what you're thinking of.
- nailer 12y agoWindows Explorer, Finder. The DOM in DevTools to a lesser extent.