2017-02-16 23:34 GMT+01:00 Harbs <harbs.li...@gmail.com>:

> > Well, that's not PAYG (yes, I'm being picky).
>
> I disagree. For string it certainly is PAYG. There’s no extra cost. (and
> considering the three bytes of ‘=“”’ in the source code is getting petty
> IMO) Adding an extra TextModelWithEmptyStringDefaults is totally
> unnecessary.
>
>
+1

and right that Array or Object are other kind of problem but usually use to
be defaulted to null and in that cases programmer needs to make a special
code to handle. But Strings and Numbers....it's clear for me that should
has a default when needed since is more cost to handle it in other way.
It's like an exception on the rule of PAYG.


-- 
Carlos Rovira
http://about.me/carlosrovira

Reply via email to