Conversation

9579cfc2-3e7d-35c7-af3b-cddda26f71bd

why do people prefix code comments with XXX sometimes

3
0
1
@lily TODO is unimplemented or broken code
XXX is "this works, but there are edgecases where this would break, or it's incomplete, or it's unoptimized"
0
0
2

@lily it's basically equivalent to FIXME, for some reason a random BSD developer started using it to mean FIXME in the early '80s: https://www.snellman.net/blog/archive/2017-04-17-xxx-fixme/

2
0
0

@lily I do actually use it myself, usually to mean something that is implemented (so not a TODO) and does function per the requirements of that component (so it's not broken and requiring a FIXME), but just something hacky that should probably be revised even though it technically works

0
0
0

@nytpu
that was very interesting but also very inconclusive!

0
0
0