Comment on [deleted]

<- View Parent
robinm@programming.dev ⁨1⁩ ⁨year⁩ ago

step 1: learn to comment everything. This will helps code reviewer to catch errors because your code doesn’t match the comments step 2: write your code in a way that makes comments useless and stop writting them step 3: write your code just like you did in step 2, but documents all the things that you didn’t do, or why the code is more complicated than the naive approach. If your arguments are weak you are not in step 3, but in step 1.

source
Sort:hotnewtop