Hi!
As the title says, what happens if i get an address wrong? Do the coins get lost?
If that's what happens, why not change the code in Bitcoin, so that if the bitcoin network cant detect that address, returns the bitcoins to you?
If you send your bitcoin into wrong address, this is a mistake you will truly regret because it only means that your bitcoin will lost forever and it is impossible to return to you. That is the reason why you have to be very careful on entering your bitcoin address. Besides, you can just copy (using copy command) your address and paste it (using paste command) into the address bar instead of typing it character by character to avoid mistakes in your transaction. It is a precaution to everyone because bitcoin address is the pathway to receive your bitcoin earnings.