Yes, you could send bitcoins directly to the public key: in fact, both Pay-to-PubKey (P2PK) and Pay-to-PubKey-Hash (P2PKH) were introduced in the first Bitcoin release.
IIRC, P2PK is still used for Coinbase transactions sometimes, today.
P2PK transactions are slightly bigger for outputs but significantly smaller for inputs.
One advantage of P2PKH is that addresses are shorter than public keys. This allows addresses to be represented with 34 characters in Base58check.
If there were a standard to present public keys in Base58check, they'd probably have 51 characters. Arguably, it is easier to type a character jumble that is only 34 characters than one that is 51 characters.
But really, addresses get used because there is a standard for them and there is none for public keys. Why that is so, I don't know.
All credit to Pieter, who has provided the knowledge to amend my errors. ;)
Also see this related question: Why does the default miner implementation use pay-to-pubkey?
:/ this is not a well formed question. what are you talking about? the fact that the key is hashed? – smatthewenglish – 2016-10-24T18:50:21.823
1The fact that you hash the key twice, with SHA256 and RIPEMD160. Why go through the process? I'm working through Mastering Bitcoin, and he didn't explain very well why we need addresses. – ihtkwot – 2016-10-24T18:56:16.510
it's it becasue it's some kind of special encoding that removes
land1, something like that, to make then easier to read – smatthewenglish – 2016-10-24T19:01:02.833It's just to make them easier to read? So, if that's the case, could you theoretically send bitcoin directly to the public key instead of the address? – ihtkwot – 2016-10-24T19:02:17.207
maybe. how would you get the private key in isolation? – smatthewenglish – 2016-10-24T19:33:38.957
@s.matthew.english: Base58Check is just an encoding to present large numbers in a more readable fashion. It can be applied to Public Keys just as it can be to addresses.
– Murch – 2016-10-24T19:55:38.423The double hash is to protect against length-extension attacks. There's no reason to think you'd be vulnerable to such attacks, but it's a cheap way to ensure you don't even have to think about it. There is a slight security advantage in that the public key can be kept secret for longer, if desired. As stated below, Satoshi use a hash to keep the address as short as possible. – David Schwartz – 2016-10-24T23:58:19.620