Time Savers For Programmers

Necmi Kılıç
2 min readSep 10, 2023

--

AI image from midjourney

Although I am against writing codes as if in a racing, there are some useful tips to save programmer’s time. They also help skipping boring tasks when developing. Here are some of them that I take advantage of:

Code Reusing: Do not try to write code from scratch. Most of the time you can find a similar development in the applications you currently work on. Firstly, try to find and reuse them. It is totally different than just “copy-paste” action.

Coding Standards: Following coding standards prevents you to think much about whether your code is acceptable or not in your team. It reduces code review findings and so time for fixing them. It also increases readability for future.

Code Generators: Use code generators and scaffolding tools to create boilerplate code and repetitive structures quickly depending on the programming language. For example, Ruby on Rails has very helpful scaffolding commands to create controllers, views or entities. Lombok is another useful library for Java users.

Keyboards Shortcuts: Every IDE has shortcuts to perform tasks. Learn especially ones that you often run.

Code Analysis Tools: They save a lot of time by preventing bugs and code review findings in advance. They also help refactor your code in development time. I am using Sonar Lints which is free and very helpful.

Knowledge Sharing: The best way to learn something new is asking and sharing. It prevents you from spending a significant time by searching from web.

Documentation and Comments: Write clear documentation and comments for your code. Well-documented code is easier to understand and maintain. It doesn’t just save your time but also your colleagues.

Unit Tests: Cover your code with unit tests as much as possible. It helps you to detect bugs when you refactor your codes. Otherwise, you find yourself in a new development life-cycle.

Automate Tasks: Automate repetitive tasks like build, deploy, copy files, migration...etc. Take advantage of CI/CD tools and DevOps pipelines.

--

--

Necmi Kılıç
Necmi Kılıç

No responses yet