News for hackers. Stuff that matters.
Re:A Form of Madness - Dive Into HTML5 by rbritton on Saturday January 02, 2010 @01:42PM (#1027486)
The usual caveat applies: no support in IE for the next ten years. I would love to have that date picker universally supported now.
Re:A Form of Madness - Dive Into HTML5 by kevinholesh on Saturday January 02, 2010 @01:47PM (#1027490)
True, but why not make the experience better for browsers that support these standards and have a decent, albeit not identical, fallback for IE?
Re:A Form of Madness - Dive Into HTML5 by diN0bot on Sunday January 03, 2010 @03:33AM (#1028356)
because if you already have to write javascript for the datepicker, why figure out if the browser supports html5? why not use the datapicker you just wrote (using yui or jqueryui or whatever)?

to do otherwise just adds more work, not only for detecting the browser, but for making sure the page layout and so on works in both versions.

Re:A Form of Madness - Dive Into HTML5 by ytinas on Tuesday January 05, 2010 @03:55AM (#1032113)
Because everyone who does do this will provide a better user interface than you do. You can choose to make your life easier or your users experience nicer.

Personally, my strategy is simply to not write HTML or CSS. I write to a DSL that is implemented based on what browser is being served, so there are no sniffer scripts in the pages themselves. True, this does mean the same, otherwise static pages, may need to get generated over and over, but this is where caching comes in.