Daily Shaarli

All links of one day in a single page.

June 28, 2019

Julio Biason .Net 4.0 - Things I Learnt The Hard Way (in 30 Years of Software Development)

So far, best quote:

If a function description includes an "and", it's wrong

Functions should do one thing and one thing only. When you're writing the function documentation and find that you added an "and", it means the function is doing more than one thing. Break that function into two and remove the "and".

Live Free or Dichotomize - Using AWK and R to parse 25tb

This is a great read, especially since you learn about someone's mistakes.