Perl Best Practices: Code Layout: “Automated Layout” AKA “enforce your chosen layout style mechanically through perltidy”


I really hate code layout wars. I really hate getting forced to follow unreasonable rules. I also hate it, if people do not follow obvious reasonable rules. It gets really bad, if rather strict team coding rules get enforced more on some team members than on others. The pain should at least be the same on all of them.

I am going to suggest the enforced usage of perltidy soon in a customer’s team. Maybe the new teamlead is quickly intrigued by this.

I am curious, how solidly perltidy works, and whether all code reformating always leads to equivalent (but only “nicer”) code.


This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: