|
|
| 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?? |
|
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
or perhaps with qw/a b c/ instead. 🦛
In Section
Meditations
|
|
||||||||||||||||||||||||||||||