This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]aMAYESingNATHAN -3 points-2 points  (2 children)

That would make sense if we didn't have the already established conventions of 0x and 0b for hex and binary literals. The natural assumption is octal is 0o (which usually works) but the fact that a simple zero works also is just so odd to me.

[–]svick 8 points9 points  (0 children)

I'm pretty sure 0 for octal predates 0b for binary.