3 ms·
HEATHEN! The holy, never-ending war must continue. Seriously, what voice commands would be better than clacking on a keyboard? For code structure we have AST-
by zamber 9y ago
HEATHEN! The holy, never-ending war must continue.
Seriously, what voice commands would be better than clacking on a keyboard?
For code structure we have AST-fueled refactoring tools, auto linters, auto formatters... the main problem with these is that you're forcing people to use a single IDE/editor with a particular set of plugins with a particular configuration. And usually it's not even VIM or Emacs!
- melling 9y agoUse your imagination. It’s not really to hard to figure out how to use voice in an editor. Think higher level than next Word, next word. Pretend you aren’t hunched over the keyboard with your fingers at the ready. And I didn’t say replace the keyboard.
- btschaegg 9y agoFor some reason, I couldn't help but imagine someone using Parinfer using voice commands and innocent bystanders recoiling in disgust because of the constant "slurp!", "barf!", "slurp!" interjections. xD
- zamber 9y agoI did. You could re-implement the Vim command building language in a natural language. You'll hit walls sooner or later. Don't get me wrong, it would be awesome for ergonomics and a pretty powerful tool, but for now Google Assistant has issues in recognizing if I want a timer for 13 or 30 minutes. 1/5 of speech recognition searches are gibberish, especially when I use own names. Correcting a typo takes far less time than backtracking speech - that's one of the main issues I see when people use any speech-to-text converter. People weigh their words carefully or they're in a world of pain trying to backtrack an error. If we supplement the keyboard then what is faster and easier to do? "replace all" $potato "with" $banana > hit enter < OR say "enter" s/potato/banana/g If you have an actual use case in mind that would dwarf keyboard input then give an example, please.
- melling 9y agoWhy do you think you need to say “hit enter”? You’re constraining yourself to the current model. You’re free to make the assistant intelligent. “Create function userName that returns a string” “Rename current function to lastName” “Rename variable myVariableName to newVariableName then run app”
- gknoy 9y agoTavis Rudd uses voice recognition to do his editing (in Emacs, no less): https://www.youtube.com/watch?v=8SkdfdXWYaI https://www.youtube.com/watch?v=8SkdfdXWYaI The key is that he basically made up his own language to handle some things like special characters.
- zamber 9y agoThanks for this. Will keep it in mind when RSI kicks in. Here's a synopsis of the talk http://ergoemacs.org/emacs/using_voice_to_code.html http://ergoemacs.org/emacs/using_voice_to_code.html Couldn't find the repo for the dragon stuff he promised to publish on his GH profile :/. Edit: Found this summary he re-tweeted recently https://medium.com/bambuu/state-of-voice-coding-2017-3d2ff41c5015 https://medium.com/bambuu/state-of-voice-coding-2017-3d2ff41....