Butvin Mihail, P3230, Assignment 3
typedef
on purpose!
I use I know about the rule, mentioned at this rules set, but I consider it very opinionated and useless at all. The problem with passing large structures by value, that it aims to solve, can be addressed by simple 50-lines-of-code linter or by high understanding of your actual code scope (that is nice anyway). So, in my assignment I uses typedef
for all structs, unions and enums, and use proper naming convention to know, when I am using complex types and pay attention to their size.