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.


🦛