In particular business logic that’s not obvious should be documented in comments.
// Typically 1 = 1, but on March accounting wants that 1 = 2. This function makes that mapping.
ihan normi koodi työ ukko
In particular business logic that’s not obvious should be documented in comments.
// Typically 1 = 1, but on March accounting wants that 1 = 2. This function makes that mapping.
Just remember to mark all the things you’d like to make better but can’t be arsed to at the moment with numerous TODOs.
Hi colleague! So I found a comment in the code from 3 years ago by you saying you should “improve this”. Is it planned for the next sprint?
Few of the good ones I’ve spotted:
(complicated business logic in messy code) // TODO: check
(…) // TODO: think about better naming
(…) // TODO: This is obviously shit and needs to be changed.
(…) // TODO: THIS IS NOT USED ANYWHERE CONSIDER REMOVING ALTOGETHER (comment made 3 years ago)
I typically listen to these after taking my morning LSD, and do get some psychoactive effects. Strangely the effects are completely different if I take amphetamines or light up the afternoon crack pipe before listening.
Seriously tho, I just started to listen to this for the first time ever, and it does work as a pretty effective and non-intrusive noise blocker. Easy to ignore.
Edit: never mind the second point, the surroundings just got quieter at the same time I started to listen.