Live data from Hacker News

Ask HN: What are your favorite developer-efficiency tips?

news.ycombinator.com

121–130 of 532 posts

Re: Ask HN: What are your favorite developer-efficiency tips?

#121
I can't say enough good things about a multiple clipboard manager. Not only is it useful to copy/paste multiple items in sequence, but it's a game changer to be able to quickly retrieve a code snippet, or URL, or CLI command you used recently; and/or, to trivially stash one just in case you'll want it later. (Primary downside: using a computer without multiple clipboards feels broken. What do you mean it "forgot" the thing I copied five minutes ago?)

My weapon of choice these days is LaunchBar [0]. Despite the clipboard history feature being bolted on to otherwise unrelated functionality, I love the low-friction keyboard shortcut: Cmd-\, arrow-down to the chosen item, release Cmd to automatically paste.

[0] https://obdev.at/products/launchbar/index.html

Re: Ask HN: What are your favorite developer-efficiency tips?

#124
Subscribe to every slack support channel and mailing-list that your end user (or people dealing with them) report issues to. Getting not just the filtered bug reports but also the questions and not-really-a-bug reports will really help you hone into what your product is supposed to do, not just what you think it should do.

Re: Ask HN: What are your favorite developer-efficiency tips?

#125

Learn to touch-type properly. I'm not a shit hot typist or anything, but it does make hours on a keyboard more pleasant. And (hate me) I do judge other devs on it. If someone can't be bothered to invest a few tens of hours on such a key productivity enhancement then what does that say?

What's the value add of touch typing? I tried it for a bit, but it seemed like a waste. I can consistently do ~90-100 WPM on https://www.livechat.com/typing-speed-test/#/ with very few mistakes just typing with 3 fingers on my left hand and 2 on my right. Feels like input speed is one of the least important parts of coding.

Did one test for this comment. https://imgur.com/a/GISaU6n

Re: Ask HN: What are your favorite developer-efficiency tips?

#127
I developed my own gmail app script to accommodate my personal workflow, where all tasks and task-related information, including Gmail inbox, are organized and scheduled in the same hierarchy.

Here is why I think it makes me extremely efficient

1. I can group and nest together Emails, to-do’s, files and links that are related to the same goal, my lists are now much shorter and manageable and I can focus on my goals instead switching between gmail, todo’s etc..

2. Since my gmail Inbox is fully integrated with my to-do list, I don't need to manually and tediously maintain and synchronize them.

3. Scheduling a goal with sub-emails and tasks hide them and bring them back when I need them.This further reduces my clutter and makes sure I will not forget anything.

4. I can organize my plans and thoughts as I organize and drag inbox Emails, To-Do’s and Ideas into their related tasks.

5. Since every email has a natural place in my task hierarchy, I can quickly empty my Gmail Inbox and deal with email when dealing with their related tasks.

What made it stick for me was processing my gmail inbox (which I must do), inside my todo list, which quickly created a habit.

BTW I tried to market the solution and gave up, either most people think different or I am just a bad marketer.

Re: Ask HN: What are your favorite developer-efficiency tips?

#128
post #93
post #39

Earlier quoted context omitted.

Same. Learn to type ~100 words/minute, I was surprised by how much more productive it has made me. Using a touch type trainer for a minute or two can also be a little mental break from writing software for hours.

I can touch type but can't get much faster than 60-70 WPM. I've been practicing for years. Any tips for speed?

Been on a compy since I was a toddler.

100 wpm when no-look-pecking, 60 wpm when no-look touch typing.

Feels weird man. xD

Also, I have a friend who used to be a court typist. Does zero coding. Borders on comically-computer-illiterate. Types like 170 wpm. So jealous. Such a gift, so wasted.

Re: Ask HN: What are your favorite developer-efficiency tips?

#129

Save all bash history into a separate file. Even with a high limit, the default bash history functionality has bugs that will destroy your history now and then. With the following .bashrc settings I have commandline history going back a decade: export HISTTIMEFORMAT='%F-%T' PROMPT_COMMAND="${PROMPT_COMMAND:+$PROMPT_COMMAND ; }"'echo \ bash$SHELLNO $PWD "$(history 1)" >> ~/.bash_eternal_history'

As addition to this advice one can use history autocomplete tool like for example this one: https://github.com/dvorka/hstr - very useful!

Re: Ask HN: What are your favorite developer-efficiency tips?

#130

KEEP NOTES. Write everything down. Write down what you were thinking about, how you felt about decisions, things you tried for bug fixes. you never know when this stuff will be useful to you again. I keep really basic markdown notes in a git repo, roughly one file per day with an ISO date name, but some things I give a separate file name (still with the iso date, but with some descriptive words) for things that might…

A similar idea I practice. After I solve a complex problem I usually leave a big comment at the top of the main file, explaining how I arrived at that solution, the caveats, how it works, and how it interacts with other files and dependencies.

If I need to, I also use Monodraw to produce ASCII character graphs and add them to the comment to explain concepts.

It helps to cement the solution in your brain and it's a system of record on how it was accomplished in case you forget.

I do this only for personal projects though. I don't think co-workers would appreciate an essay with exhibits at the top of a file, lol.

Post reply on HN