On 29 Apr 2007 22:08:41 -0700, grocery_stocker <>
wrote:
>This depends on how you view Perl. Perl can be viewed as either
>Procedural or Object Oriented paradigm
Perl can be viewed as a multiparadigmatic language supporting amongst
others procedural and object oriented paradigms. It has always been,
it's become more, it will be even more.
Now, Perl's current OO model is both weak, due to it being an
afterthought rather than a primary design choice, and charming for the
powerful and far reaching consequences it gets out of an extremely
simple structure constituted by a single "special" function and a tiny
bag of syntactic sugar. Perl 6's OO'ness will be pervasive but not
invasive: everything will be an object, but you won't be *forced* to
think of it as such.
>> I also like the versatility of the syntax. That said, although it's
>> versatile, it also seemed consistent.
>>
>Versatility isn't always a good thing. Sometimes this can lead to
>stuff being inconsistent. Consider the following code I duped from a
>Google search -).
>sub alter ($) {
> $_[0]= $_[0] . " blub";
>
>}
This is a well chosen name for a sub that spots a well documented
charachteristic of the special @_ array to actually modify a value.
>sub alter ($) {
> my $string = shift;
> $string = $string . " blub";
>}
This is an example of a sub with a badly chosen name for it uses a
different parameter passing mechanism that is similarly well
documented not to be usable to modify a value.
>> Python just annoyed me a little. It was just inconsistent.
Actually I would have thought it to be *more* consistent.
>In the end, all programming languages are just fagged up versions of
>Lisp. Don't believe it? The following URL makes from some interesting
Well, not really!
>late night reading
>
>http://www.paulgraham.com/icad.html
Indeed!
Michele
--
{$_=pack'B8'x25,unpack'A8'x32,$a^=sub{pop^pop}->(map substr
(($a||=join'',map--$|x$_,(unpack'w',unpack'u','G^<R<Y]*YB='
..'KYU;*EVH[.FHF2W+#"\Z*5TI/ER<Z`S(G.DZZ9OX0Z')=~/./g)x2,$_,
256),7,249);s/[^\w,]/ /g;$ \=/^J/?$/:"\r";print,redo}#JAPH,