Comment on Bill is a pro grammer

<- View Parent
magic_lobster_party@kbin.social ⁨11⁩ ⁨months⁩ ago

I’ve seen code that look like this:

int delay = 15 * 60; // 10 minutes

Even if the comment was on the same line someone forgot to update it.

Better solution is to write (in C#):

TimeSpan delay = TimeSpan.FromMinutes(15)

Much more obvious what the code actually means.

source
Sort:hotnewtop