The scripts that become functions, and the functions that belong to a library .

Long ago, when I had the chance to build by myself a set of scripts that performed certain operations I ended up with a nice set of small things.

I would like to share, but it needs some explanation.

This library, group of tools, they do nothing by themselves, their only serve a single purpose which is “To standardize” .
At that time I was a “one man army”, I built stuff by myself, for myself and to myself, but then I realized that after me would come someone else, with different styles, different habits and so on,..

Since I needed to change as less code possible this library can be sourced and its functions called many times, they become read only , or they are atomic, so nothing has be worried about using its functions several times in a row.

One Reply to “The scripts that become functions, and the functions that belong to a library .”

Leave a Reply

Your email address will not be published. Required fields are marked *