footgun
noun
No English definition recorded for this entry.
L1564929 on Wikidata ↗Wiktionary
noun
Etymology: From foot + gun.
- Any feature likely to lead to the programmer or user shooting themselves in the foot.
“This is a footgun! ES6 should have specified that it either fulfills, rejects, or just throws some sort of synchronous error. Unfortunately, because of precedence in Promise libraries predating ES6 Promise, they had to leave this gotcha in there, […]”
“If it is what Douglas Crockford might call a “footgun,” then at the very least, condoning and standardizing the “footwounds” will make problems easier to search for and fix.”
- by extension, generalised from (1.): An opportunity or object that allows the unfortunate to mostly figuratively but sometimes literally shoot themselves in the foot. A less obvious footgun may be a pitfall (1.).
verb
Etymology: From foot + gun.
- To shoot oneself in the foot.