3 ms·
I use XXX to mean note/attention. I do so because "NOTE" on it's own does not "scream loudly enough" to me when I read it, and as for "ATTN" I associate that w
by eriknstr 9y ago
I use XXX to mean note/attention.
I do so because "NOTE" on it's own does not "scream loudly enough" to me when I read it, and as for "ATTN" I associate that with the writing on a letter when you want to send it to a specific person in an organization.
Here are a couple of examples from my own code:
https://github.com/eriknstr/TEMPer2-getdegs/blob/cfde4306623dd79606bd983251b8e8cbace9c316/getdegs.c#L223 https://github.com/eriknstr/TEMPer2-getdegs/blob/cfde4306623...
// XXX: Feels a bit stupid to check user_set_iterations each iteration.
https://github.com/eriknstr/klondike/blob/d33accd6965d8d2476ed06601f7a7e4dc97e56b8/src/client/html/klondike.js#L277 https://github.com/eriknstr/klondike/blob/d33accd6965d8d2476...
// XXX: https://bugs.chromium.org/p/chromium/issues/detail?id=615638
https://github.com/eriknstr/interweb/blob/6c2985f8d8a9d63d084d8a3688151ddbe20a22b9/tools/cfipaddr.bash#L51 https://github.com/eriknstr/interweb/blob/6c2985f8d8a9d63d08...
#
# Domain and records to update with the current WAN address of the router
#
# XXX: First record must expose origin server's IP address.
# This is by design because I need to be able to
# log onto my machine remotely using SSH
# so having a DNS name for the IP of the host
# makes more sense than not having it.
#
# If this is not acceptable to you, then this script
# is not suitable for your use-case.
#
- thrilleratplay 9y agoI do the same with XXX. There is no sense of urgency but still acts as a placeholder that stands out. I use it to record a thought: // XXX: There must be a cleaner way to implement this or call on someone (most likely myself) to replace with a NOTE clarifying why an out of place snippet of code is needed or verify it came be removed completely // XXX: Is this check still relevant?