Use procrastination against itself. So basically, when procrastinating, we tend to justify our inactions: just 1 more minute on Twitter, just one last scroll on my newfeed, lemme just check this subreddit really quick. With reverse procrastination, you trick your brain into doing your intended task: Ok lemme just open Visual Studio Code and edit this one file then im good, I'll just change this one line of code, I'll…
Ask HN: What are your favorite developer-efficiency tips?
431–440 of 532 posts
Re: Ask HN: What are your favorite developer-efficiency tips?
#432Earlier quoted context omitted.
I've used Dvorak for the past few decades. As suggested by one of the other comments, it took about 2 weeks to learn well enough to get back to my normal speed (>80wpm). It makes a massive difference in comfort. 5 minutes typing at full speed on QWERTY and my wrists start to hurt. (I really don't know how people do it.) On Dvorak, I can type all day at full speed with no pain at all. Surprisingly, the keyboard hardwa…
> 5 minutes typing at full speed on QWERTY and my wrists start to hurt. (I really don't know how people do it.) Wrist-bending to maintain the home row, I suspect. I have a different, self-taught style that partially involves holding my hands above the keyboard and using muscles all along my arms to move my hands without bending my wrists much - never had any problems.
Re: Ask HN: What are your favorite developer-efficiency tips?
#433Ctrl + space (browser) Alt + space (terminal) On Firefox: Spacebar (pagedown) | Shift + spacebar (pageup) | Ctrl + tab (cycle between last recent opened tabs) | Cmd + number (go to tab of number) | Cmd + K (go to search box) | Cmd + L (go to address bar) Use Vim and forget the mouse
Re: Ask HN: What are your favorite developer-efficiency tips?
#434Eleven hours in and no mention of AutoHotKey? Shame on you HN!
Re: Ask HN: What are your favorite developer-efficiency tips?
#435I usually comment with the same thing on these tip threads. And that is learn to rebind your keyboard. Make each key programmable modifier. Open apps, run scripts/macros instantly. My Karabiner config: https://github.com/nikitavoloboev/dotfiles/blob/master/karab... I go as far as binding keys to instantly type `console.log()` or `fmt.Println()` or the other language equivalent with my dot modifier key. Plus typing th…
One thing I worry about with these extremely customized keyboard configs and such is that once you get used to them, you will have a hard time using any other computer when you suddenly need to. Maybe this isn't such a big problem with physical keyboards, but can be with e.g. text editor configs, which you can't take along if you need to SSH into many servers during a workday and work with whatever is installed there…
Re: Ask HN: What are your favorite developer-efficiency tips?
#436Earlier quoted context omitted.
I'd love to subthread hear from people if alternate keyboard layouts have made a difference. ?
I've used Dvorak for the past few decades. As suggested by one of the other comments, it took about 2 weeks to learn well enough to get back to my normal speed (>80wpm). It makes a massive difference in comfort. 5 minutes typing at full speed on QWERTY and my wrists start to hurt. (I really don't know how people do it.) On Dvorak, I can type all day at full speed with no pain at all. Surprisingly, the keyboard hardwa…
Wrist discomfort with QWERTY completely disappeared upon switching to Dvorak.
Re: Ask HN: What are your favorite developer-efficiency tips?
#437Earlier quoted context omitted.
Used to love Python. Now, unless it has type hints, not so much. Used to hate static types, or at least I thought I did. Really, I just hated C++ and Java. Go is Bae, trying to learn some rust. Computers are rigid. The more rigid the lang you talk to them, the less you get bitten. Untyped python, bash, javascript, just not worth it imho.
It seems type hinting is coming to Ruby 3, which im looking forward to.
Re: Ask HN: What are your favorite developer-efficiency tips?
#438I have such a simple setup but it's not for everyone. It also fails miserably if I'm working in an environment where I can't do almost everything I need to do from the command-line. 1) VIM with almost no special .vimrc 2) gnu screen (10 screens initialized via .screenrc) - hotkeys Ctrl-Left (prev), Ctrl-Right (next) - I tweak my $PS1 prompt so it will display which $WINDOW I'm on. 3) Not a tool, but a tip. Maintain a…
Unless you have 5+ years of muscle memory (learnt with pain), all the shortcuts are too confusing.
Re: Ask HN: What are your favorite developer-efficiency tips?
#439Get out of the habit of watching TV. Some downtime is important and healthy, but it is too easy to waste hours and stay up late staring at a television. Not a developer tip specifically, but not wasting time and sleeping well is the best way to improve your efficiency at everything.
Re: Ask HN: What are your favorite developer-efficiency tips?
#440- Your eyes are the only broadband connection into the brain, and they have millenia of pattern recognition training built into them. When solving problems like debugging, refactoring or data preparation, consider arranging information in a way that takes advantage of this. When it's in the right shape, irregularities or patterns will often just jump at you. - Relatedly, your eyes are also extremely well-adapted to d…
Oddly enough I can't use IDE's. They simply throw way too much information on the screen, and my brain gets overloaded. So I have to sheepishly confess that I do my programming in IDLE. There, I said it. But I think a take-home lesson is that the "right" visual environment is a function of your eyes and your brain, and might not necessarily be the most sophisticated environment.
You can usually just hide them. I hide everything but the file explorer, the code itself and recently I turned on line numbers but no tool bar or task bar or that distracting mini map which I feel it serves no purpose than being cool for some people.