Unsequence

The order of the production rules in the grammar should be set up in a consistent manner, such that referred nonterminals in production rules refer either up or down in the grammar. If Uncluster and Splat are concerned with general placement of production rules, this smell is about how they need to be structured to keep the reading experience optimal.

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.


Spaghetti Smells

Home

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