Consistency in The Negative Result Values Through Expansion of null's Role
bruant.d at gmail.com
Wed Aug 15 15:41:57 PDT 2012
Le 16/08/2012 00:35, Rick Waldron a écrit :
> On Wed, Aug 15, 2012 at 6:02 PM, Erik Reppen <erik.reppen at gmail.com
> <mailto:erik.reppen at gmail.com>> wrote:
> Is consistent type return a heuristic carried over from more
> strictly-typed paradigms or would it murder performance of the
> native methods to do the logic required to return something like
> null in these cases? In a dynamic language, why not focus on more
> consistent return types across the board for an indicator that you
> won't be getting particularly handy results?
> It would break the web.
I agree and would like to encourage you (Erik) to read the foreword of
my "ECMAScript regrets" project
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss