Jack Albrecht
1 min readJun 8, 2020

--

5 (or 7) should be "comment your code." Although I don't do much coding anymore, I've been coding for as many decades as Trump has had wives. I'm really good at it, and I run a company that is really good at it. One of my rules is: Every executable step should be commented.

In six months you won't remember why the second calling argument to that API was hardcoded at "53226" unless you put it in a comment noting that the argument was not used because "X" and "53226" is used because "Y". That will save future you or your colleague possiby hours of time. Repeat that throughout your code and you'll make future you much happier or get a great reputation from the junior coders having to modify your code.

--

--

Jack Albrecht
Jack Albrecht

Written by Jack Albrecht

US expatriate living in the EU; seeing the world from both sides of the Atlantic.

No responses yet