On Sep/12/2011 22:19, Rick Waldron wrote:
On Mon, Sep 12, 2011 at 11:38 AM, Claus Reinke <[email protected] <mailto:[email protected]>> wrote: I'm hopeful that type inference combined with class syntax and an (eventual) traits system will get us "there", so that you can use structural type tests for enforcement and that the IDE can get the benefit of hints through inference. Improved, statically checkable, types would also help mitigate Javascript's silent failures (silently breaking code when trying to refactor, fixing bugs, or adding features). Unit tests with comprehensive and thorough code coverage does this today.
Sure. The question is why should we do it if a machine can do it? That would mean we can concentrate on writing business logic tests instead of tests that verify type matches.
-- Ionuț G. Stan | http://igstan.ro _______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

