in reply to Re: There's Only One Way To Do It
in thread There's Only One Way To Do It
I think jdporter's thesis is that, for a select set of language features, there is only one useful way to do it.
Perl is a strongly typed language. You have three data types -- scalar, array, hash. You can't coerce a scalar into an array or a hash -- they are fundamental data types.
integer, float, decimal -- who needs the multiple names. They are all scalar values.
Note that I don't equate "strongly typed" with "bondage and discipline". Java does the B&D thing with data types, leading to the ever-popular downcast. They may claim to be Strongly Typed, but you can't do anything useful without having to subvert the type system to get data moved around.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Re: There's Only One Way To Do It
by hardburn (Abbot) on Apr 06, 2004 at 18:23 UTC | |
by disciple (Pilgrim) on Apr 06, 2004 at 22:09 UTC | |
by hardburn (Abbot) on Apr 07, 2004 at 03:18 UTC | |
by disciple (Pilgrim) on Apr 07, 2004 at 03:45 UTC | |
by herveus (Prior) on Apr 07, 2004 at 10:59 UTC | |
by herveus (Prior) on Apr 06, 2004 at 18:31 UTC |