localhost is reserved for a very different purpose, though .local is a reserved pseudo-TLD for a purpose encompassing much of what was suggest by GP for .dev.
Web devs aren't the only ones that need test/dummy hostnames. That being said, as mentioned in another comment, there are other TLDs already reserved for such use.
Twisol|7 years ago
reaperducer|7 years ago
jolmg|7 years ago
dragonwriter|7 years ago
francislavoie|7 years ago
organsnyder|7 years ago