1

I am building a website and am trying to learn the best practices from Stack Overflow at the same time. This would sometimes involve inspecting the underlying code. I notice that Stack Overflow does not use the new HTML5 form inputs for email and URLs. Are there any good reasons that it is not adopting these new features?

  • 5
    A better question is what are the reasons for* adopting them. (You're probably right but I can never get behind "new is always better") – Richard Tingle Dec 25 '13 at 9:09
  • @RichardTingle, I am trying to learn here. I think you are also right that new is not always better. – Question Overflow Dec 25 '13 at 9:12
  • caniuse.com/#feat=forms – Oded Dec 25 '13 at 9:16
  • @Oded, uuuuuhhhh, even if not supported, wouldn't it revert to text? – Question Overflow Dec 25 '13 at 9:17
  • 1
    First, we do use some HTML 5 features - the placeholder attribute, for instance. For others - where would you use email and url outside of the (not very often used) user profile page? – Oded Dec 25 '13 at 9:19
  • @Oded, Login and registering dummy accounts? – Question Overflow Dec 25 '13 at 9:21
  • 2
    Required reading, regarding why something was not implemented: blogs.msdn.com/b/ericlippert/archive/2009/06/22/… – Oded Dec 25 '13 at 9:22
  • 1
    What do you mean with "registering dummy accounts"? – Arjan Dec 25 '13 at 9:46
  • @Arjan he probably thinks there's no validation whatsoever so anyone can enter any email and register account with it. (of course this is wrong and there is server side validation, plus to register you have to use OpenID :)) – ShaWiz Dec 25 '13 at 9:47
7

I am not an authority on such matters, but I can take a good guess.

If if ain't broke, don't fix it.

The current method works well enough, and there are probably far more important to things to be working on (like HATS); such a change will typically come when it is needed, and no earlier.

  • 3
    Ah... hats. Well.. Ok, that counts as one good reason :) – Question Overflow Dec 25 '13 at 9:18

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .