Rivalry

Modern frameworks are more advanced and versatile, they feature several kinds of negation, conjunction, ordered choices, precede and follow restrictions, etc. However, there is none that explicitly provides an exclusive disjunction combinator, even though it was the original intent behind the choice: thus, a statement may be a conditional statement or a print statement, but not both at the same time. This smell is about such situations: it occurs whenever languages of alternative siblings overlap and create an ambiguity.

Reference

Mats Stijlaart and Vadim Zaytsev. 2017. Towards a taxonomy of grammar smells. In Proceedings of the 10th ACM SIGPLAN International Conference on Software Language Engineering (SLE 2017). ACM, New York, NY, USA, 43-54.


Dependency Smells

Home

All rights reserved (c) Tushar Sharma 2017-23.