3 ms·
I think we can simplify even further. Computers communicate with bytes. Sockets stream bytes. Files contain bytes. Your database stores bytes. The problem
by jrockway 17y ago
I think we can simplify even further. Computers communicate with bytes. Sockets stream bytes. Files contain bytes. Your database stores bytes.
The problem is that humans communicate with characters, not bytes. And so you need a function to convert bytes to characters and characters to bytes, so that human conversations can happen on top of computer conversations.
Once you understand "why" you need to encode/decode, then everything else is simple.