4 ms·
Why do you want to use your mouse while coding?
by jpeterson 14y ago
Why do you want to use your mouse while coding?
- mitjak 14y agoBecause you don't always know your code base very well. I almost always use vim but when a new large project comes along I've found no better way to read through it than with a mouse.
- kaffeinecoma 14y agoI don't- but for discoverability purposes, I'm more likely to find success by clicking on a method name than by randomly pawing keyboard shortcuts. Once discovered, I'll happily take the shortcut.
- kstenerud 14y agoI use the mouse all the time while developing software. And oddly enough, it doesn't diminish my productivity, since I generally spend more time thinking than typing, and use an IDE to get any boilerplate out of the way or look up API calls or refactor.
- justinhj 14y agoOnce you are used to an environment where you can do everything with no mouse, it feels very clunky and inefficient when you are in an IDE and you need to constantly switch between typing and using the mouse. If you had to stand up and sit down in order to open a file menu you would think that was silly, but could make the same argument for it that you did for the mouse.
- kstenerud 14y agoFalse analogy. Standing up and sitting down does absolutely nothing with regards to file operations.
- jules 14y agoBecause when browsing code it's faster to click on a method name than to navigate to it with the keyboard.
- kprobst 14y agoEven in Visual Studio that's not true, at least not for me. Just move the cursor to the symbol in question, hit the menu key and select the 'Go to definition' or whatever menu item. Or better yet, map it to something like Ctrl+] which I usually do.
- josephcooney 14y agoI thought F12 was mapped to 'go to definition' by default? in any case, not hard to set up something like you suggest.
- jussij 14y ago> Because when browsing code it's faster to click on a method name than to navigate to it with the keyboard. reply In the Zeus editor you just have to place the cursor on the name (using the keyboard or mouse) and hit the F12 key.
- jussij 14y ago> Why do you want to use your mouse while coding? This reminds me of the times I was tasked with the job of assisting junior programs with their code. At times their mouse usage habits would drive me nuts!!! I would say something like cut those three lines and move them outside of the loop. I would watch them try to mark the three lines of code with the mouse. That would take a second or two. Then they would right click on the mouse to bring up the copy popup menu only to accidentally hit the left mouse button and remove the marked area forcing them to start again. Five or six seconds later the task was still not done and I would say please move and let me jave a go. A few key strokes later the cut and past is done.
- recursive 14y ago> Five or six seconds later the task was still not done and I would say please move and let me jave a go. You should probably work on your patience just for the sake of self improvement. That's a little ridiculous.