dog

Only here to post about CD-ROMs

I want!!
⬅️ this mark
🍷white
and Taste 🦆11
require

 

 

(Avatar by @texture, CD-ROM Journal button by @candiedreptile)


CD-ROM Journal
cdrom.ca/

Incredible, real code I just ran into:

	// FIXME: Explain this.
	if (duration > 0)
		duration += 5;

The code is 13 years old and the comment is 7 years old. No one ever explained it.


You must log in to comment.

in reply to @dog's post:

my favorite thing about being a programmer is all the weird and concerning comments I've found in code that are super old. I found one once that said "THIS MUST BE FIXED". It was like 5 years old and the code hadn't been changed since then.

the best way to protect your weird magic code - that works, you know through blood, sweat and tears that it works - from being refactored into brokenness is by adding exactly that kind of comment. // TODO figure out all use cases for this or something. better than "this is not a place of honour"