image47dd1de4

Hi,

before starting the post, we are going to do a small filter:

Do a daily CheckIn how minimal?

If your answer is "Yes", then you know that for every day that raisins without protecting your code into the source code repository, you kill to a Unicorn and fades out a rainbow. The second question also helps keep leaking the affair.

Is some of your comments of the following type?

-I’ve fixed a bug

-donate!

– 1234567890

It is amazing but many people think that the text for the comment box is only decorative and with a simple "." reaches.

As well, to improve this slightly I tell a working model that is fairly well used in the comments. It follow the following pattern:

+ add new elements, features, functions, etc.

-remove elements, features, functions, etc.

~ updated elements, features, functions, etc.

# define label or version

With this scheme, it is easier to find comments by type

+ built-in functionality for tracing database

~ changes in trace format

or even

~ changes in the look and feel to be OCD compliant

-old images

Thus, the comments are more than text lost in each set of changes. And finally a piece of information that is important to stress

Comments should discuss the reasons for a change not how, for how longer will read the source code.

Greetings @ La Finca

The Bruno

Leave a comment

Discover more from El Bruno

Subscribe now to keep reading and get access to the full archive.

Continue reading