Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yes, exactly. I love binary protocols/formats. Plain text formats are wasteful, and difficult (or at least annoying) to implement with any consistency. But you really do need a translation layer to make binary formats reasonable to work with as a developer. There are very good reasons why we prefer to work with text: we have a text input device on our computers, and our brains are chock full of words with firmly associated meanings. We don't have a binary input device, nor do we come preloaded with associations between, say, the number 4 and the concepts of "end" and "headers." (0x4 is END_HEADERS in HTTP/2.)

Once you have the tools in place, working with binary formats is as easy as working with plaintext ones.

Of course making these tools takes work. Not much work, but work. And it's the kind of work most people are allergic to: up-front investment for long-term gains. With text you get the instant gratification of all your tools working out of the box.

I don't think I'd go so far as to say that plain text is junk food, but it's close. It definitely clogs arteries. :)



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: