Y
Hacker News
new
|
ask
|
show
|
jobs
by
cryptonector
2924 days ago
Why have hex mode toggles at all? Just use 0xa1b2, and so on. 0x... -> hex, 0... -> octal -- invent a syntax for binary.
2 comments
IshKebab
2924 days ago
0 for octal was a huge mistake. Most sane languages use 0o now, or just forget octal. How often do you use octal anyway? Like, once a year for file permissions?
link
cryptonector
2924 days ago
OK, sure. As long as we don't have to toggle number bases...
link
skissane
2924 days ago
syntax for binary: 0b11010011
link