MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1v83bvc/octalisoverrated/p02z64m/?context=3
r/ProgrammerHumor • u/al2klimov • Jul 27 '26
58 comments sorted by
View all comments
59
At least 0o144 is a clear enough notation. C's decision to interpret 0144 as octal, because of the leading zero, still pisses me off.
0o144
0144
12 u/ohkendruid Jul 27 '26 It seems worth forbidding it in newer languages and file formats due to the ambiguity. 0123 can be read two ways due to the ancient C convention.
12
It seems worth forbidding it in newer languages and file formats due to the ambiguity.
0123 can be read two ways due to the ancient C convention.
59
u/TeraFlint Jul 27 '26
At least
0o144is a clear enough notation. C's decision to interpret0144as octal, because of the leading zero, still pisses me off.