Re:Ask HN: Anyone using a “no hands” setup for programming?
by unwind on Wednesday April 08, 2015 @10:58AM
(#9341169)
What 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.
Re:Ask HN: Anyone using a “no hands” setup for programming?
by nailer on Wednesday April 08, 2015 @01:08PM
(#9342250)
Windows Explorer, Finder.
The DOM in DevTools to a lesser extent.
Re:Ask HN: Anyone using a “no hands” setup for programming?
by codecamper on Wednesday April 08, 2015 @12:54PM
(#9342130)
Seems 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.
Re:Ask HN: Anyone using a “no hands” setup for programming?
by 0xdeadbeefbabe on Wednesday April 08, 2015 @12:52PM
(#9342103)
Good 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..."
Re:Ask HN: Anyone using a “no hands” setup for programming?
by TeMPOraL on Wednesday April 08, 2015 @10:58AM
(#9341165)
You're not really exposed to the tree structure though, unless you're writing in Lisp.
Re:Ask HN: Anyone using a “no hands” setup for programming?
by nailer on Wednesday April 08, 2015 @01:28PM
(#9342386)
Sure, 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.
Code is really just a seraliazed AST. That tree structure should be modifiable with gestures / voice as much as any other tree structure.