4 ms·
what about defined_as (i agree that within ruby's conventions (weak typing) defined? is not that bad)
by ibotty 14y ago
what about defined_as
(i agree that within ruby's conventions (weak typing) defined? is not that bad)
- masklinn 14y ago> ruby's conventions (weak typing) No. "Weak Typing" doesn't mean jack shit, and there are very few under its thousands of different and incompatible identities which Ruby would match, save for the very least useful of them.
- ibotty 14y agono. weak typing is exactly what i mean. > if a.defined? works, because the returned string type is implicitly converted to a boolean. that's weak typing. at least one (i guess the most common) interpretation of weak typing.