Slashdot Mirror


Tim Berners-Lee Is Sorry About the Slashes

Stony Stevenson writes "A light has been shone on one of the great mysteries of the internet. What is the point of the two forward slashes that sit directly in front of the 'www' in every internet website address? The answer, according to Tim Berners-Lee, who had an important role in the creation of the web, is that there isn't one. Berners-Lee revisited that design decision during a recent talk with Paul Mohr of the NY Times when Mohr asked if he would do any differently, given the chance. 'Look at all the paper and trees, he said, that could have been saved if people had not had to write or type out those slashes on paper over the years — not to mention the human labor and time spent typing those two keystrokes countless millions of times in browser address boxes.'"

36 of 620 comments (clear)

  1. From the year 2022 by suso · · Score: 5, Insightful

    I used my time modem to login to the Internet3 in 2022 and pulled this review from cdweggbuy (yes, that's a full URL because people thought it was ok to remove gTLDs and also got rid of that pesky http:/// for a VeriLogiSoft Computer Interface device. But of course I got infected by a future virus because my Firefox plugin that matches malicious content didn't know how to identify as a URL.

    Ok back to the present.

    The problem with letting people have what they want is that the majority of people don't understand why things are the way they are. Tim made the right choice,
    he just feels that it is wrong now because he's had to hear people complain about it for the past 15-20 years. But when it comes down to it you need some parts of a URL to indicate what something is.

    1. Re:From the year 2022 by Anonymous Coward · · Score: 1, Insightful

      protocol:host[:port]/path is unambiguous, considering that the colon can not appear in the protocol part or the host name. It might be easier to hand-craft a parser to look for the // than a parser which needs to tell the components of a URL apart with just colons for separators, but a properly generated parser works with both and is no more complicated either way.

    2. Re:From the year 2022 by Anonymous Coward · · Score: 1, Insightful

      Amiga OS, like Unix, has a current directory. MS-DOS has a current directory per drive. MS-DOS isn't really being stupid here; it's just different.

      And you can even argue that the MS-DOS approach has an advantage. It is kind of handy when you're working with multiple drives, like moving your nudie pics around. On each drive, you navigate to where you want to be, then since you're an old fart, you forget which directories you just went to, and then copy the nudie pics from the current directory on A (or df0) to the current directory on C (dh0).

      To do that (be able to forget where you are on one drive, and still have things work ok) on the Amiga, use an assign. But that's an extra step.

      Of course, I can't think of a way to apply that argument to http, so I end up agreeing with you anyway.

  2. Re:Theres one technical point by redhog · · Score: 4, Insightful

    Or remove support for ports and use SRV records to find the port. Which would have saved us tons of work with named virtual hosts, and allowed us to run multiple SSL sites on the same IP...

    --
    --The knowledge that you are an idiot, is what distinguishes you from one.
  3. backslashdot by thhamm · · Score: 5, Insightful

    Nah. Slashes are fine, but Microsoft should be sorry about backslashes!

    1. Re:backslashdot by digitalaudiorock · · Score: 2, Insightful

      Nah. Slashes are fine, but Microsoft should be sorry about backslashes!

      Boy, you're not kidding. Nothing like using a directory delimiter that's the escape character in pretty much every programming language there is. It's a good thing that most GNU programs etc ported to Windows let you use forward slashes in place of back slashes.

    2. Re:backslashdot by catmistake · · Score: 2, Insightful

      Nah. Slashes are fine, but Microsoft should be sorry about backslashes!

      Thanks for using the proper terminology. There are slashes, and there are backslashes. There are NO 'forward' slashes. And though Microsoft is cupable, I blame Windows users for unnecessarily complicating the language in a vain attempt to sound like they know what they are talking about. Those extra seven letters are superfluous. It's like saying "CPU processor" or "DNS server." If I see it used again, I'm really going to forwardflip out!

  4. Time wasted explaining a slash vs. backslash by Anonymous Coward · · Score: 3, Insightful

    Not to mention all the time wasted trying to explain to people the difference between a slash and a backslash.

  5. Saving energy by twoblink · · Score: 0, Insightful

    If microsoft set the default screen saver to blank in 5 minutes, we'd save billions a year in electricity around the world. The // ain't nothing compared to that.

  6. Stupid story by mgessner · · Score: 1, Insightful

    It doesn't matter a rat's ass.

    Pick up any browser, type in www.yahoo.com.

    Does it get there? Sure!

    If you're worried about all the time spent typing, store the stupid text in a document that you cut and paste! (Yes, this will take more time, showing even more how stupid this whole thing is.)

    Store a stupid bookmark. Then you only have to type https://blah.blah.blah/ one time.

    Get a life.

    --
    "Sometimes the truth is stupid." - Lawrence, creator of Prime Intellect
  7. Re:Theres one technical point by Viol8 · · Score: 5, Insightful

    Don't be an ass. Using ports allows someone to set up an ah-hoc server for testing or whatever easily. The last thing they want to do is dick about having to update DNS's bastard child before they can access it from the browser.

  8. DNS by redhog · · Score: 5, Insightful

    What I wonder is why the designers of DNS put the name in reverse? If the name had been in most-significant-first order, one could have tabcompleted it properly (using history and maybe zonetransfers of smaller zones). Also, if http had included a way to get _parsable_ directory listings, the tab-completion could have gone even further...

    http://edu.wu<TAB>
    http://edu.wustl
    http://edu.wustl.wu<TAB>
    http://edu.wustl.wuarchive
    http://edu.wustl.wuarchive/p<TAB>l<TAB>d<TAB>f<TAB>
    http://edu.wustl.wuarchive/pub/linux/distributions/fedora

    --
    --The knowledge that you are an idiot, is what distinguishes you from one.
    1. Re:DNS by ukyoCE · · Score: 2, Insightful

      People don't consider the TLD to be most significant, and especially did not consider it so before any domain names used anything other than .com or maybe .edu/.net/.org.

      Unless you happen to use both slashdot.com and slashdot.org (and .net, etc.), odds are you can almost always tab complete the name "sla" and avoid ever typing "com." or "co". The TLD is essentially totally insignificant, and would have to be typed every single time if the order were reversed.

      Agreed though that compared to the rest of the path it IS backwards.

    2. Re:DNS by pmontra · · Score: 2, Insightful

      It might be habits but IMHO www.example.com looks much natural than com/example on any media, from business cards to tv commercials. We use dot in normal writing and not slashes.
      And what's better at highlighting a brand: org/slashdot or slashdot.org?

      Luckly B-L got it right the first time. Maybe the web wouldn't have add all this success if he designed the addresses in the other way.

    3. Re:DNS by jez9999 · · Score: 2, Insightful

      Yeah, you're right. I can't think of any time I regularly use slashes in common speech/reading/writing. And it's not just me; go ask the average man/woman on the street.

    4. Re:DNS by Jesus_666 · · Score: 2, Insightful

      What's natural about www.example.com? It looks nothing like any other kind of address. Phone numbers maybe but those are rendered in a very non-uniform way and ".", "/", "-" and " " are all very common separators there.

      You just feel that that format feels natural for domain names because that's the way domain names are usually written. If Berners-Lee had went with com/example/www, you'd find "//com/example" to be the natural format.

      --
      USE HOT GRITS WITH STATUE OF NATALIE PORTMAN (NAKED AND PETRIFIED)
  9. Re:Saying double u double u double u a billion tim by Da+Fokka · · Score: 4, Insightful

    Saying 'www' might be slower, but typing 'www' is much faster. Which one do you do more often?

  10. Funny vs. Insightful by tepples · · Score: 5, Insightful

    I love that a post that begins "I used my time modem..." can be modded as Insightful. God bless you, you crazy mods.

    And crazier Slashdot admins. Because they want to discourage smart-ass comments, "Funny" gives no karma on slashdot.org. An alternating sequence of "Funny" and the allegedly M2-proof "Overrated" quickly drains a poster's karma. "Insightful", on the other hand, invites no such danger.

    ObTopic: Without the slashes, Slashdot would have been called something else.

  11. Re:pronouncing www is a lot more of a problem by PAjamian · · Score: 2, Insightful

    better idea: Just alias the www version and it won't matter if the boss (or anyone else for that matter) confuses it that way.

    --
    Windows is a bonfire, Linux is the sun. Linux only looks smaller if you lack perspective.
  12. Re:Theres one technical point by andymadigan · · Score: 3, Insightful

    What if I just want to run an HTTP server on a non-standard port for development? Not everyone is running a DNS server, nor should DNS records need to be changed so often.

    How would it allow named virtual hosts? The only thing you have at the network layer is the IP address that the message was sent to, that's why HTTPS virtual hosts is difficult to implement.

    --
    The right to protest the State is more sacred than the State.
  13. Re:Saying double u double u double u a billion tim by ledow · · Score: 3, Insightful

    I call bullshit.

    WWW is no quicker to type than web, and in fact web is more natural to type quickly because may hands can pre-prepare the "e" and "b" while I'm still pressing the "w" and I think that's the same for anyone who's done any decent amount of typing in their lives (i.e. almost everyone over the age of 18 by now!)

    I think web is a better idea, in retrospect, but I can't remember the last time I typed www either - it comes naturally and I don't even notice, but http:/// is still a pain in the bum to speak over the phone, especially when people aren't used to the syntax.

  14. Re:Theres one technical point by sopssa · · Score: 2, Insightful

    Because URL is not just for webpages - it's used for other protocols too. Just like you can click on a http link in other program, you can click other programs link in your browser. This can be irc:// mailto: spotify: and so on. And theres many instances where websites have such links to launch external application directly from it.

    My examples showed that the standard :port option, which is optional, would have to be removed for it to work. Or it would had to be made mandatory, or the : changed to something else (which would make even less sense, since hostname:port is the standard way to show it).

  15. Re:yeah and by smoker2 · · Score: 2, Insightful

    What's worse is people who say "forward slash". There is no such animal. It's either a backslash or a slash. Does anybody say full colon as opposed to a semi-colon ? I use it as a natural filter against people who don't know what they're talking about.

  16. I like them! by sootman · · Score: 4, Insightful

    I *like* unique, easily-visually-identifiable structures. a@b.c is an email address. If you're in the U.S. you know that XXX-XXX-XXXX is a phone number and that XXX-XX-XXXX is a social security number. You know that X/Y/Z is a date, even if it's not always clear if it's M/D/Y or D/M/Y.

    "://", while verbose, is very clear and you always know EXACTLY what it is and what it means--that it's the START of a COMPLETE Web address. If it would have been just a : or a / it wouldn't always be clear because those symbols, by themselves, are often used elsewhere and it would lead to confusion.

    Now if we could just teach a planet full of lusers the difference between "slash" and "backslash." People always say "backslash" because they've heard computer guys say it every so often when talking about logging onto MS servers so they call EVERY slash a backslash. Damn you Paul Allen!!!

    --
    Dear Slashdot: next time you want to mess with the site, add a rich-text editor for comments.
    1. Re:I like them! by sanosuke001 · · Score: 2, Insightful

      Ever since I started working as a contractor for the Air Force, I've been using DDMMMYYYY for my dates(ie. 14OCT2009), and technically, it is shorter than MM/DD/YYYY by a single character. It's also less ambiguous for all parties involved as not everyone has MM and DD in the same location.

      As for web addresses (to stay sort-of on topic...), most people do not use their web browser for anything other than http addresses. So the http:/// is automatically filled in for them; worrying about whether they were a good idea is useless at this point and has been for a decade or more. Now, the slash/backslash issue is another story. I blame that on Microsoft.

      --
      -SaNo
  17. Re:Saying double u double u double u a billion tim by cerberusss · · Score: 3, Insightful

    That's just your language (which is arguably the dominant language). In my mother tongue, the 'w' is pronounced as [wey].

    --
    8 of 13 people found this answer helpful. Did you?
  18. Re:It's time to... by kalirion · · Score: 2, Insightful

    Get with the times, dude. Class action lawsuits are way more profitable!

  19. Re:Theres one technical point by Dog-Cow · · Score: 1, Insightful

    There is nothing incorrect about having a web server whose hostname does not start with www. To imply that there is shows a lack of understanding about what a hostname is.

  20. Re:Theres one technical point by TheRaven64 · · Score: 2, Insightful

    If we're mobilizing the torch and pitchfork mob, I'd rather send them after the person (Bill Gates???) who decided in MS-DOS to substitute backward slashes where convention for a long time had been forward slashes as the separator in pathnames

    DOS got it from CP/M. I don't know why you think the UNIX way of doing it was the convention. Macs and a lot of microcomputers used colons, and a lot of mainframe and older time-sharing operating systems used dots, as did VMS.

    --
    I am TheRaven on Soylent News
  21. Re:Theres one technical point by slimjim8094 · · Score: 2, Insightful

    To borrow from a recent argument, truly you share the eloquence of Cyrano. In a similar vein, fuck off - at least with the insults.

    Remember, you don't say port 80 to go to Slashdot. Why not default to the SRV record (then port 80 for backwards-compatibility) unless the user specifies otherwise?

    --
    I have developed a truly marvelous proof of this comment, which this signature is too narrow to contain.
  22. Re:Theres one technical point by Random+BedHead+Ed · · Score: 5, Insightful

    http:org/slashdot/tech/story/... (use SRV record)

    I've always liked that idea (which I've seen before) because it treats subdomains in the same way it treats subdirectories under the document root, which opens a lot of possibilities for creative web hosting schemes (e.g., Slashdot could have put this story on a site at slashdot.org/tech, but when that server's load became high enough to justify a separate host the site could move to tech.slashdot.org - there would be no difference between /tech and tech. from a navigational standpoint).

    Also, the dot-com boom would have been the com-slash boom, which would have been much cooler.

  23. Re:Theres one technical point by Tanktalus · · Score: 2, Insightful

    Then you still need to have a format that allows programmatic parseability when the port is required. I mean, I have no problem with using more DNS records for port numbers, but the format of the URI needs to account for all supported possibilities, not just the common ones. That's why the OP suggested getting rid of the port number ability when getting rid of the double slash, but when suggesting to allow a default but still allowing overriding, you get back to finding a mechanism that can be deterministically parsed whether the optional feature is there or not. Double slashes provide some of that, though it's probably not the only solution.

  24. Phishing scams by lannocc · · Score: 2, Insightful

    What I wonder is why the designers of DNS put the name in reverse? If the name had been in most-significant-first order, one could have tabcompleted it properly (using history and maybe zonetransfers of smaller zones).

    Not only that, but it would go a _long_ way towards preventing phishing scams.

  25. Re:Theres one technical point by aztracker1 · · Score: 3, Insightful

    Probably the single biggest reason to have domain.com redirect to www.domain.com is so that you can have specific domains for resources, like images.domain.com ... Further the reason for this is to limit the unneeded transmission of cookies. If your website uses domain.com, then using images.domain.com serves very little good as any cookies assigned to domain.com will be sent with each request. Using www.domain.com, scripts.domain.com and images.domain.com extends the ability to have localized (or no) cookies in the resource-only domains. This is less necessary as more and more browsers are breaking older standards and allowing more than two connections to a given host name at a time. (IE8 extended it to six by default, and IIRC firefox already exceeded this limit as well).

    Regarding the port, this is very much necessary for development purposes, as using high-range ports is the most reasonable method of allowing a User to run a development server instance.

    --
    Michael J. Ryan - tracker1.info
  26. Re:Theres one technical point by ajs · · Score: 2, Insightful

    Don't be an ass. Using ports allows someone to set up an ah-hoc server for testing or whatever easily. The last thing they want to do is dick about having to update DNS's bastard child before they can access it from the browser.

    One: I don't think the GP was the one being "an ass."

    Two: I don't think the GP was suggesting that there be no way at all to force your browser to another port for testing purposes (at the very least, a command-line option to browsers could be provided). The point was that for general usage when talking to remote systems, there's no reason not to use DNS, and it would have solved one of the largest problems with IP proliferation: the need to lock SSL to a specific port, due to the fact that the URI used is hidden from intermediate hosts.

    However, I do like the URI syntax as it stands. I do think that dot should not have been a valid last character for scheme (which would have allowed you disambiguate host and scheme by using the FQDN of the host with trailing "." For that matter, I'm not sure dots should have been allowed in schemes at all.

    One thing that the URI syntax suffers from is something that Larry Wall pointed out when managing the design effort and RFCs for Perl 6: Everyone wants the colon. The double-slash, though, I think is a good thing. It allows for rooted URIs such as / without ambiguity.

  27. Re:Saying double u double u double u a billion tim by Dirtside · · Score: 2, Insightful

    Neither, I haven't dealt with a domain in more than a year that didn't either automatically redirect foo.com to www.foo.com, or had the web server running on the foo.com host itself. I frankly don't know why anyone uses protocol-specific subdomains at all any more. Either ftp.foo.com and www.foo.com are the same machine or they aren't. If they are, then there's no reason to have the subdomains because the machine is already listening on ports 21 and 80. If they aren't the same machine, then at best only the ftp host needs a subdomain, because everyone expects foo.com to serve port 80.

    (However, 'web' is faster to type because I can use three fingers to do it almost simultaneously, but 'www' has to be hit by the same finger three times. ;-) )

    --
    "Destroy science and religion. Science would re-emerge exactly the same; but not religion." - Penn Jillette, paraphrased