And focus rather on solving real problems.

How many times did you catch yourself doing some routine? Each of us has to do something repetitive every day. Working in the software development industry gives us a chance to automate many work-related processes. We need to be able to recognize repeating actions and propose a way to automate them.

I will always choose a lazy person to do a difficult job because a lazy person will find an easy way to do it.

Frank B. Gilbreth Sr.

Unfortunately, not everybody can find good candidates for automation straight away. The following list of ideas will give you some inspiration on what to automate in your next project.

Code Style Checks

Personally, I feel annoyed every time when my pull request fails because of violating code styles. I’m talking here about wrong indentation, string length, or similar issues. It would mean I need to go back to the problematic file, fix code style, and commit changes. That doesn’t sound too bad. But if it can be automated, why not to achieve that. We would save at least time for switching focus for resolving the issue.

By using  git hooks this task can be automated. Git offers various amount of hooks. For example, to execute an action before commit command, before push command, or after checkout a branch. All hooks are located in .git/hooks path and follow an appropriate naming convention such as pre-commitpost-checkout etc.

#automation #git

4 Automation Ideas for Developers
1.20 GEEK