in reply to Re^3: strong typing
in thread (Completely OT) - Hero(i)n programming language on Slashdot
Perl's type system has no concept of "integer", "boolean", etc.--it only knows about scalars...But that isn't entirely true:
print 5 == "foo"; Argument "foo" isn't numeric in numeric eq (==)
The fact that these types are checked/enforced at run time rather than compile time doesn't mean they aren't types. It's called dynamic typing.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: strong typing
by chromatic (Archbishop) on Dec 16, 2004 at 00:14 UTC | |
by jdporter (Paladin) on Dec 16, 2004 at 03:21 UTC | |
by chromatic (Archbishop) on Dec 16, 2004 at 04:23 UTC | |
by jdporter (Paladin) on Dec 16, 2004 at 15:01 UTC |
In Section
Perl News