Hacker News new | ask | show | jobs
by Gravityloss 5134 days ago
One more reason it's not a good idea: For example if .html was a top level domain, it would be harder to know if you're looking at a domain or a file. You could still deduce it from the surrounding strings, but why do you want to complicate what's working perfectly as it is?

How about .exe, .app, .txt, .htm... maybe ultimately petition to allow punctuation and forward slash in domain names.

1 comments

The concept of files in URLs is an illusion. A bare '/' may serve JS content and a /test.css may serve a JPG image. The path is just a string with no special meaning.