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

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?
OK, sure. As long as we don't have to toggle number bases...
syntax for binary: 0b11010011