News for hackers. Stuff that matters.
Re:Websocket gets an update - the details. by wmf on Thursday June 03, 2010 @11:30PM (#1403395)
Postel's Law works when everyone follows it, but it's unstable. At some point somebody will be liberal in what he sends and conservative in what he accepts and everyone else will end up working around his bugs forever. This can even lead to a ratcheting effect over time as people use less and less of the protocol to avoid previous bugs.

This leads us to Ruby's Corollary[1]: Be exact in what you send and liberal in what you accept. Since programmers will neither read the spec nor run the test suite, you should build real implementations that exercise every facet of the spec (e.g. randomize anything that doesn't matter). The only way to interoperate with such implementations is to do things more or less correctly.

[1] After Sam Ruby, who inserts test cases into his blog to encourage browsers and feed readers to work better.

Re:Websocket gets an update - the details. by prodigal_erik on Friday June 04, 2010 @04:27PM (#1405544)
His end users deserve better. He's wilfully confronting them with interop failures they aren't in a position to understand, much less do anything about. Testing is a burden which should be borne by developers.
Re:Websocket gets an update - the details. by wmf on Friday June 04, 2010 @04:55PM (#1405627)
This kind of interop error should be seen and fixed in the earliest development and should never reach users; that's the point of deliberately triggering it.