4 ms·
I had a coworker who would often just throw out a random word as a hapax legomenon if he thought an edge case was unreachable, to make it easy to search the sou
by fusiongyro 9y ago
I had a coworker who would often just throw out a random word as a hapax legomenon if he thought an edge case was unreachable, to make it easy to search the source code. One day we got a call from an analyst: "The program says 'atrocity' and I don't know what I did wrong!"
He also thought it would be funny in another edge case to have the program print out "SB no es bueno." I thought it was funny too...
- JadeNB 9y ago> throw out a random word as a hapax legomenon TIL a new phrase! https://en.wikipedia.org/wiki/Hapax_legomenon https://en.wikipedia.org/wiki/Hapax_legomenon
- gggvvh 9y agoAre you 5? Christ.
- ams6110 9y agoReally not much different from using a unique "error" number, and certainly easier to communicate without transposition or other unintentional errors: Compare: "The program says 'atrocity' and I don't know what I did wrong!" vs. "The program says 'error 567231' and I don't know what I did wrong!"
- fusiongyro 9y agoTrue, but atrocity conveys something extra that 567231 does not. Or at least that's what the humans tell me.
- deleted 9y ago[deleted]