3 ms·
1. I use Visual Code with carefully chosen extensions that alert me all the time about error. 2. I have enabled linter autofix on safe. It fixes a lots of stuf
by tomaszs 6y ago
1. I use Visual Code with carefully chosen extensions that alert me all the time about error.
2. I have enabled linter autofix on safe. It fixes a lots of stuff very good fast.
3. I wrote several own extensions. One for example shows error in the code when i do some mistakes i normally do. It also boosts my speed because i dont go through the whole process of finding these errors.
4. Since i code using TypeScript and Angular i use a lots of OOP and composition to reuse easily and modify code fast. And have less errors. OOP gives great propert and method suggestions in VSC so there is less space for errors.
5. I have a lots of generators and snippets custom for my projects. So writing similar things is blazing fast.
6. I dont overcomplicate stuff. Write everything as simple as possible so it is easy to refactor and modify and understand.
7. I use bash with a menu to have complicated operations like git operations to be done easily. Without clicking with mouse. It is a boost.
8. I have written also some software in C# that operates on the TS code base. I use it to generate some more complicated stuff that includes multiple files at once. I use code comments to put for example snippet examples into Angular code. Than a C# app looks for these in whole project and generates snippets for VSC automatically.
9. An extension for VSC executes tests one by one. I can choose test to start. It is faster than start all each time.
10. CI/CD, unit testing, linting, end to end tests give a boost if done right.
11. I side from solutions that are hype but cause loads of code to be written. For example some silly state management libraries. Overkill.
12. My PC is packed with best hardware, updated regularly to be fastest as possible. Since every second you wait ia a second you waste. PC ia better because you can upgrade it cheaper than laptop. Remote access is the key if you want use laptop.
13. Good sleep and diet, sports is essential for good performance. And music.
14. I never go into the zone if i am not 100% sure what and how to do stuff. In the zone you arw blazing fast, but be careful to not write useless code because of bad approach.
15. Notes notes notes. For everything. Refactored often. JIRA as a single source of tasks. Notepad as a detail task list.
16. I adjust tasks to the time of day and my mental focus. Some easy task for first half hour, and than the big ones for the rest of the morning.
17. I have wrote a lots on keyboard to have very high speed. It saves me time writing (actually you need to use keyboard when you are a dev anyways) and less wasted time for typos.
18. All notifications off. All spam sms, emails, calls off. No distractors.
19. I never code when i am not 100% sure what and how to do it. No guessing, always asking. A lots of wasted time saved. Never being ashamed to ask even the most stupid question.
20. I always remember that things take time and not stress too much about it. Stress harms performance if too high. But also some stress can let you go into the zone. And this is magical place to be in.
I enjoy coding. Always had. For 20 years.
- tomaszs 6y agoBonus: when you have the highest effeciency, the next step is to help other boost theirs. I think this is something important too. Some people get to the 10x point and think itis enough. It is not. Your team has to be too. If you are the only one, you did only tiny part of your job