Programming principle that simplify your life
Productivity / / December 23, 2019
Mark Shed
Software developer, author of books on Agile methodology, a consultant to improve the development process.
"Do not Repeat Yourself" - one of the most important principles of programming. He says that when you need to solve a problem, do it once. Do not repeat the same action over and over again in different parts of the code. Take the solution common problems and program so that it can be used for all similar cases.
This principle can be applied in other areas. For example, to correct their habits. After all, during the week we spend a lot of time on unnecessary things and complexity; processes.
Look for areas that are repeated, and simplify them.
For example, about five years ago I worked in a company where employees are paid every two weeks. And in my car constantly accumulate checks, because I do all the time there was no time to take them to the bank. This seems to be a trifle, but I spent a lot of time worrying about these papers.
In the end I went to the settlement department and agreed to the salary transferred to my account. At dealing with all the formalities it took less time than a trip to the bank, and it is forever solved the problem. And I was one less concern.
Or another example. Every morning I look through the same ten sites. At one - the news, on the other - a summary of my business interests. To separately open each site, you do not have much time, but I'm repeating it regularly.
Therefore, I have grouped all the pages with a single label, and is now open them with one click, saving a little time everyday.
Here are a few tips to help you less and repeated:
- Keep track of your regular activities and are always looking for ways to improve them or remove them from the unnecessary steps.
- Learn how to use scripts and macros in the software.
- Examine the automation methods available in your operating system. Use hot keys for frequently used functions.
- Take time regularly to improve daily processes. Many do not correct the little things, because there is always "too busy", but it is much easier life.
see also🧐
- 5 Ways to Make Life Easier
- Automate - application for automating tasks on Android
- How to automate the work with e-mail and does not suffer from the hundreds of incoming
- 6 reasons to learn programming, if you are not a programmer