There is no drive to break convention. There is only the drive to Do It Right this time, which incidentally breaks convention where convention is suboptimal. But all other things being equal, we'll still pick the conventional solution, or something close to it. Often, however, there are several conflicting conventions to pick from.
In this case, leading zero meaning octal is originally only a Unix convention, not a computerdom convention, and it's a bad convention because the Real World uses leading zeroes on decimal numbers all the time. Why just this morning my daughter was pissed off at a Web form that required her to specify the month as 09 rather than 9. Stupid, but that's the way the Real World thinks... | [reply] |
But in all of mathdom, 0777 = 777. I can see reasons to break convention. The consistency is nice; everything without a prefix is decimal. Easy to avoid hard-to-spot errors.
I deal with decimal data on a daily basis that has leading zeroes (input from non-Perl sources). I have more use for fixed-width columns of decimal numbers padded with zeroes so things line up (for example) than for octal numbers. | [reply] |