Ask HN: What are your favorite developer-efficiency tips?
566 pointsI recently started integrating tmux and vim into my workflows. Obviously, it was a huge efficiency booster. What are some other tools (custom built or off-the-shelf), hotkeys, workflows that were game-changing for you as a dev? I'm interested in hearing about anything and everything (stuff from ctrl+l to clear the terminal to little-known git commands to larger-scale strategies like CI/CD)
Comments (522) 158 threads
Show all comments
Showing thread 155 of 158
Typescript: you don't need to remember the arguments of a function or return types. Easy to refactor. Just no brainier. I also use it for all my config like webpack config with ts-node or ts-node-dev for auto reload.
Auto format all your code with 1 command. Prettier or lint fix. But that's basic.
Don't ever write global css. Use emotionjs or styled components. Scoped css it's a delight.
If you notice all my tips helps you to reuse the code you write. Therefore write less code, more efficient.
Plan all your stories ahead. Then do one at the time. Then mark it done. Prioritize.
> Don't ever write global css.
Global CSS is a form of code reuse.