Live data from Hacker News

Ask HN: What tool/trick has most improved your programming productivity?

news.ycombinator.com

1–10 of 17 posts

Re: Ask HN: What tool/trick has most improved your programming productivity?

#3
post #2

Jetbrains IDEs and learning using flashcards.

+1 on Jetbrains, I've just installed PHPStorm and have skipped a ton of env setup BS already by having PHPStorm run my stuff from inside a docker container managed in the IDE itself.

What do you learn using flashcards, out of interest?

Re: Ask HN: What tool/trick has most improved your programming productivity?

#4
Keeping a private "playground" code repository that hosts various "trivial"/useless projects you've flash through in your brain during free time. For most of us, a simple application prototype is good enough.

Keep them buried for some period (maybe a month or so), then review back your code and see what's the good, bad & ugly you used to have (e.g algorithm usage, memory allocation, code style, correctness). I love this kind of "writer's retrospection" to see how much we've grown.

Re: Ask HN: What tool/trick has most improved your programming productivity?

#6
I like to leave off at the end of the day knowing what the next step is. I leave a small task that I could easily do then and there. This way I can start my morning off with a simple, quick, productive task. This gets my momentum rolling. I learned it reading about some famous author that used to use this trick.

Other fun productivity tricks include drawing a simple diagram when you can't focus or don't know what to work on next. I also try to have tasks that take all different levels of focus and cognitive energy in the backlog so that I can choose a task based on my mood.

Re: Ask HN: What tool/trick has most improved your programming productivity?

#7
post #5

Prettier for auto formatting. Tailwind for CSS. However, the biggest win was having a custom React boilerplate better suited to my needs than anything else that's out there.

I just got started with Tailwind for CSS last week. It seems great so far.

Re: Ask HN: What tool/trick has most improved your programming productivity?

#8
I like the Pomodoro method. Basically, focus on a task for 25 minutes, then take a 5 minute break. Every 4 blocks, take a 15 minute break instead.

I work at home, so I do housework in some of those 5 minute breaks. It's different enough that it helps clear my mind enough to focus again after the break.

I'm still trying to find a good way to plan these work chunks, but so far I think emacs org-mode will work pretty well.

Re: Ask HN: What tool/trick has most improved your programming productivity?

#9
post #5

Prettier for auto formatting. Tailwind for CSS. However, the biggest win was having a custom React boilerplate better suited to my needs than anything else that's out there.

I love using prettier. I just hit that format button or let it format on save. No reason to waste time formatting it when something can do the styling I normally do automatically.

Re: Ask HN: What tool/trick has most improved your programming productivity?

#10
Interactive debugging. "Most bugs are a result of the execution state not being exactly what you think it is" (Carmack) and it's astonishing how many people just refuses to effectively debug using an interactive debugger, which allows for easy inspection of anything, at any moment, with a REPL for a given state of your program, including call stack inspection/jumping and what not. Some say that "printing" and/or "logging" is just "enough", when those are other debugging techniques and often needed too. Heck, even some say that "if you need to step through your code you already are in bad shit" just as an excuse.

Knowing how to do effective, interactive debugging in any language is a major step in productivity: it helps in so many ways: learning, diagnose, getting things done...

Post reply on HN