Related smells: Switch Redundant Assignment, Circuitous Treasure Hunt, Excessive Dynamic Allocation, The One Lane Bridge, Mystery Guest, Resource Optimism, Invalid Property Value, Inappropriate Intimacy, Type Queries, Unexploited Encapsulation, Obscure In-Line Setup, Functional Decomposition
Many realistic language workbenches draw the line to prevent endless growing of their notations, and introduce a concept of a “semantic action”, which is written like an annotation in the grammar and acts as a doorway to the mainstream language typical for the target platform [SLE-2013-ErdwegSVBBCGHKLKMPPSSSVVVWW]. Obviously, since this action consists of code, the code can suffer from one of the numerous code smells.