3 ms·
I've always interpreted XXX to be the same as HACK rather than FIXME, as per Java's coding standards: "Use XXX in a comment to flag something that is bogus but
by 33degrees 9y ago
I've always interpreted XXX to be the same as HACK rather than FIXME, as per Java's coding standards:
"Use XXX in a comment to flag something that is bogus but works. Use FIXME to flag something that is bogus and broken."
- rb808 9y agoI hadn't heard this before, I found a doc here - is there something more recent? http://www.oracle.com/technetwork/java/javase/documentation/codeconventions-137265.html http://www.oracle.com/technetwork/java/javase/documentation/...
- 33degrees 9y agoNot that I know of, that's where I found the exact quote I used...
- veddox 9y agoYeah, that's the way I've been using it too: FIXME - something is there, but it doesn't work TODO - something that needs to be there but isn't yet XXX - something is there and works, but should be cleaned up.
- tesseract 9y agoDitto, to me XXX is a near synonym of HACK. But they have slightly different connotations. I'd use HACK for something that works, and is maybe even elegant, but potentially fragile due to a lack of generality. XXX on the other hand is something that works, but is inelegant or violates good design principles - basically a "clean this up if you get a chance" marker.