Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^3: What if Perl had an OO standard library?

by hippo (Archbishop)
on Aug 24, 2022 at 08:30 UTC ( [id://11146356]=note: print w/replies, xml ) Need Help??


in reply to Re^2: What if Perl had an OO standard library?
in thread What if Perl had an OO standard library?

Your examples here just reinforce my general opinion that full-OO languages where everything is an object are just overly verbose when it comes to simple operations. By eschewing this and having intrinsic non-object types we (in Perl and in other languages which do the same) can write much cleaner and therefore maintainable code.

The contrast is slightly hidden by an overly verbose Perl entry. I think in most cases I would be using

say uc for 'a', 'b', 'c';

or perhaps with qw/a b c/ instead.


🦛

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11146356]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2026-04-14 22:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.