this post was submitted on 29 Jan 2024
706 points (98.0% liked)
Memes
45673 readers
886 users here now
Rules:
- Be civil and nice.
- Try not to excessively repost, as a rule of thumb, wait at least 2 months to do it if you have to.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
It's all fun and games until you have to implement
goingToCrashIntoEachOther()
// TODO: needs improvements but works 99% of the time
return false;
This looks good. PR approved.
return (staticCrashCounter++ % 100 == 0 ? true : false);
To improve that, you could get rid of the comment to save space.