Shotgun parsing is a term used in cybersecurity to represent an architecture where a proper parser is substituted with lightweight treatment (by regular expression matches and direct string manipulation). The name comes from the fact that in a pipeline of tools built with such defects, the problems quickly multiply with each step when the receiver is applying Postel’s Law in trying to be relaxed with its input, and is known to cause all kinds of subtle bugs in software language processing.
We define the Shotgun smell as a situation when the grammatical bind is too loose on one of its ends.
All rights reserved (c) Tushar Sharma 2017-23.