Slashdot Mirror


How One Programmer Is Coding Faster By Voice Than Keyboard

mikejuk writes "Is it possible that we have been wasting our time typing programs. Could voice recognition, with a little help from an invented spoken language, be the solution we didn't know we needed? About two years ago Tavis Rudd, developed a bad case of RSI caused by typing lots of code using Emacs. It was so severe that he couldn't code. As he puts it: 'Desperate, I tried voice recognition'. The Dragon Naturally Speaking system used by Rudd supported standard language quite well, but it wasn't adapted to program editing commands. The solution was to use a Python speech extension, DragonFly, to program custom commands. OK, so far so good, but ... the commands weren't quite what you might have expected. Instead of English words for commands he used short vocalizations — you have to hear it to believe it. Now programming sounds like a conversation with R2D2. The advantage is that it is faster and the recognition is easier — it also sounds very cool and very techie. it is claimed that the system is faster than typing. So much so that it is still in use after the RSI cleared up."

16 of 214 comments (clear)

  1. Emacs by captain_dope_pants · · Score: 4, Funny

    Really ? He'd have been better off with VI - everyone knows it stands for Voice Input :p

    --
    while (true != false) process_more_stupid_code();
    1. Re:Emacs by doti · · Score: 4, Funny

      VI VI VI

      the editor of the beast

      --
      factor 966971: 966971
  2. You can't win.. by Jah-Wren+Ryel · · Score: 5, Funny

    So how long until he gets laryngitis and has to start typing again?

    --
    When information is power, privacy is freedom.
    1. Re:You can't win.. by Seumas · · Score: 5, Informative

      If you watch the video, he discusses that. He does about 40-60% of his coding with this system and he does keep voice-strain in mind (in fact, he was sucking on a hard candy during the demonstration to keep his voice from drying out). You may not do 100% of your work in it, but just imagine if you could cut the amount of typing you do down to about half of normal? Suddenly, you're spreading some of the load to your voice, keeping either from being excessively stressed.

  3. Re:Try that with LISP by Mitchell314 · · Score: 4, Funny

    "Open parenthetheeth liphth wun too theven clothe parenthetheeth wetun"

    Huh, it actually works.

    --
    I read TFA and all I got was this lousy cookie
  4. Re:Coding != Typing by oodaloop · · Score: 5, Funny

    I do not spend that much time ting, actually.

    You don't say?

    --
    Tic-Tac-Toe, Global Thermonuclear War, and relationships all have the same winning move.
  5. This is like the corded keyboard by Required+Snark · · Score: 5, Interesting
    The mouse/keyboard combination was not the original combination envisioned by Douglas Englebart, the inventor of the mouse. He paired it with a chorded keyboard that could be operated with one hand. Clearly text input with one hand and mouse input with the other is a better input paradigm, but it is still not in use much today.

    This use of speech recognition seems like a similar situation. It works for a few people, but it will not ever have a large user community. QWERTY keyboards are so dominant that their network effect makes other input modes irrelevant. Even those who adopt it will still be using conventional keyboards away from their custom environment.

    --
    Why is Snark Required?
  6. autocomplete as done in Borland C++ .. by dgharmon · · Score: 4, Informative

    > I'd have a hard time believing that this could be faster than someone using something like autocomplete as done in .NET ..

    autocomplete was around long before .NET as was context-sensitive-help before Microsoft renamed it Intellisense ..

    --
    AccountKiller
  7. Oompah Oompah Band by Tablizer · · Score: 5, Funny

    Pararenthesis parenthesis parenthesis. ... Was that one too much?

    No, open "parenthesis" will be abbreviated "pah". And close parenthesis will be "ump".

    Thus, coding will sound like, "Umpah lumpa, dipity doo, I have another puzzle for you..."

    http://www.youtube.com/watch?v=qw0zZttfUaw

  8. Input is not the limiter when coding by gweihir · · Score: 4, Insightful

    Unless you are programming utterly structure starved glue-code, input is not the limiting factor, thinking about what you want to input is.

    --
    Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
    1. Re:Input is not the limiter when coding by pla · · Score: 4, Insightful

      Unless you are programming utterly structure starved glue-code, input is not the limiting factor, thinking about what you want to input is.

      You beat me to it.

      I can type in code pretty damned fast - Fast enough that people frequently ask me how often I go through keyboards - Fast enough that I've actually had people in the room with me ask if I had just typed something meaningful or merely mashed keys for the hell of it - And, while coding, I tend to spend far, far more time thinking than coding. Someone watching me program for an hour would see 3-5 minutes at a time of complete inactivity, followed by assaulting the keyboard for a 30 second burst, rinse wash repeat.

    2. Re:Input is not the limiter when coding by Kjella · · Score: 4, Interesting

      You beat me to it. I can type in code pretty damned fast - Fast enough that people frequently ask me how often I go through keyboards - Fast enough that I've actually had people in the room with me ask if I had just typed something meaningful or merely mashed keys for the hell of it - And, while coding, I tend to spend far, far more time thinking than coding. Someone watching me program for an hour would see 3-5 minutes at a time of complete inactivity, followed by assaulting the keyboard for a 30 second burst, rinse wash repeat.

      I think I can have considerably longer buffer/burst cycles, the challenge is keeping the big picture in your head while doing the little parts, and there I feel the duration of the bursts matter. If I've figured that to solve a business problem I need to change code sections A2, B4, C3 and D1 I'll start working on A2 and if it's quick and easy I won't forget the rest while if I struggle and need to churn out a lot of boilerplate by the time I'm done I might not remember what those other changes were. Either you then have to take notes or pseudocode the whole solution first or recreate it from memory, in those cases faster input would help keep me "in the flow", even though the input itself is only a small fraction of the wall time.

      --
      Live today, because you never know what tomorrow brings
  9. Re:The secret is hot sauce by PolygamousRanchKid+ · · Score: 4, Funny

    So... what? Do you just chug it?

    I believe it's intended to be administered as an enema . . .

    You might be able to convince some frat boys into trying it . . . they're already doing it with alcohol.

    --
    Schroedinger's Brexit: The UK is both in and out of the EU at the same time!
  10. Lisp programmers need foot pedals by ebno-10db · · Score: 5, Funny

    What Lisp programmers really need are two foot pedals - one for left parentheses and one for right parentheses. That should cover 90% of their input requirements.

  11. Re:Codijng faster by voice because... by jeffb+(2.718) · · Score: 5, Insightful

    That's like saying someone can get around faster in a wheelchair because they've broken their legs.

    You might want to look up the record time for completing the Boston Marathon in a wheelchair vs. on foot.

  12. Re:Writing is easy by rrohbeck · · Score: 4, Funny

    I'm not debugging *my* code :)