📜 ⬆️ ⬇️

Simple solutions come themselves, and not at the very moment when they are trying hard to find them.

“Simple solutions do not come at all at the moment when they are trying hard to find them,” I made a similar observation a long time ago.
So when I come across a difficult, even urgent problem,
I try to postpone her decision if she does not dare to “immediately”.

“You shouldn’t postpone for tomorrow what you can do today” - this is one of the common misconceptions that seriously reduces productivity!
It is worth putting aside for tomorrow what you can blunt all day,
if tomorrow, having new knowledge, technologies and ideas,
you do it "in five minutes."

To justify my theory, I will give a very recent example from my life.
It happened yesterday:
')

In the morning I was puzzled by one of my regular customers,
it was necessary to change the menu output form in the photo album script.

This script was written quite difficult, used a bunch of modules and settings. In addition, the script authors have left no comments anywhere :)

The most annoying thing is that the menu in the main script was displayed
using a string variable that is not clear where it was formed.
I spent half an hour studying a few dozen
script files trying to find the part where the program was going
I need a variable. But the search (of course, I used the automatic search) did not give anything ...

I had two options:
1. Continue to learn when.
2. Use the weekend as intended for recreation.

I chose the second.
I rested intensively all day, and in the evening, when I came home,
With the help of three lines I solved the morning task, simply using the replacement operator for line fragments, converted it to the form I needed.
The decision came on its own and seemed so simple that I could not understand
why I was stupid in the morning.

Question: “Would I have found this solution if I had chosen path number 1?”
remains open.

Source: https://habr.com/ru/post/8067/


All Articles