|XP is just a number|
Re^5: A wholly inadequate reply to an Anonymous Monk (Perl++)by LanX (Abbot)
|on Apr 23, 2010 at 14:52 UTC||Need Help??|
In general it's surely right that no restriction can avoid people writing horrible code...
But I was talking about marketing!
With a pragma called "superstrict" ( or "anal"¹ or "antigolf" ) which combines the better parts of perl critic one could enforce a coding style which looks orderly and nice at first glance!
(E.g requiring (more or less) one statement per line or avoiding the usual context traps with reasonable defaults)
And thats how many representatives judge languages, at one glance!
I mean bosses, school teachers or ignorant beginners.
Just the illusion that a good coding style can be enforced is enough to improve the sells!
"Oh you mean python looks less messy? So why don't you simply try "use anal" if you need punishment?" =)