Permuted

Clones modulo permutations (e.g., A | B vs B | A) are confusing: if the choice used in the notation is commutative, they are just Clones, otherwise if the choice is ordered, having both A / B and B / A within the same grammar is even more confusing for everyone.

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.


Duplication Smells

Home

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