Hacker News new | past | comments | ask | show | jobs | submit login

Seems like it would be better to have the device be dictionary agnostic and leave it to your editor do know whether you're writing a comment, or code, or a string containing sql...



I wonder if it would make sense to latch into the syntax highlighter for something like Vim. Most syntax highlighters have a reasonable understanding of what context you are currently in, so conceivably the device could, for example, see that I'm inside a comment and revert to vanilla English, and then see that I'm back in code and change to F#.


I think it would. It seems like you'd want some amount of symmetry between contexts, otherwise learning separate ones would be too difficult.

Like the gesture for python's "create a for loop" would align with the english word "repeat" and in functional languages it might map to some manipulation that sets up recursion with a shortened list.

Actually coming up with a list of such a list of abstractions for app developers to map actions onto sounds like a dissertation for some psychologist somewhere.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: