2 ms·
Yeah, but that's makes.toyota.models, not /makes/toyota/models. The point is that this is a data structure and not a web server. It's using a convention from
by bsimpson 2y ago
Yeah, but that's makes.toyota.models, not /makes/toyota/models.
The point is that this is a data structure and not a web server. It's using a convention from one domain in a different one. Relatively minor in the scope of possible quibbles, but it's just one more thing to remember/one more trivial mistake to make. I'm sure much collective time will be lost to many people using dots where the spec says to use slashes, and not realizing it because it looks right in every other context with dots. Dots also makes copy/pasting easier, because you wouldn't have to migrate the format after pasting.
- maxbond 2y agoOh I see what you mean. I misunderstood, I also don't like slash as a separator.
- diggan 2y ago> The point is that this is a data structure and not a web server. URIs are not only used on web servers though, they're all over the place, probably most notable your filesystem is using `/` as a path separator, so it wouldn't be completely out of place to use it as a path separator elsewhere.