3 ms·
> prepend // Then the technical people think it's a comment, not a web address. Maybe :// would be better? Wait, that looks like some weird emoticon... I li
by csense 13y ago
> prepend //
Then the technical people think it's a comment, not a web address. Maybe :// would be better? Wait, that looks like some weird emoticon...
I like http:// http:// because it's precise. EDIT: Wow, HN highlights that as a link. It goes to about:blank (on my browser at least).
- 286c8cb04bda 13y ago> Then the technical people think it's a comment, not a web address. They would be wrong. URLs beginning with // are scheme-relative -- http://www.w3.org/TR/2012/WD-url-20120524/#resolve-a-string-as-a-scheme-relative-url http://www.w3.org/TR/2012/WD-url-20120524/#resolve-a-string-...
- dragonwriter 13y agoWhich actually makes it a worse substitute for http:// http:// for a combined technical/non-technical audience that something merely potentially confusable with a comment by a technical audience.
- MichaelGG 13y agoIf it's a URI. The issue here is there's no context to determine what it is, so the rules for parsing a URI aren't involved.
- aaronbrethorst 13y ago> :// would be better? Wait, that looks like some weird emoticon... I would like to nominate the name "confused duck" for this emoticon.