perl is not a perfect language. nobody should be claiming that.
They way function args are define is just pure passive aggression (oh so you _want_ people to name args properly eh? go on, you validate the arg name. Go on, fiddle with the hash like that). However we should be able to look at any language and pull out its interesting/useful features.
I loved perl's can do attitude. You wanna do that to an array? sure. it'd going to end bad, but here you go kid, have at it.
Is that good for everyone? no.
does it mean that you need to be hilariously disciplined to make readable code? very yes.
Can one make readable and maintainable code in perl? hell yes. I've worked on some wonderfully maintainable perl code.
I've also worked on a lot of shite. But then the same goes for python. I transmute research code into production, and let me tell you, there are some "perls" of programmers right there.
They way function args are define is just pure passive aggression (oh so you _want_ people to name args properly eh? go on, you validate the arg name. Go on, fiddle with the hash like that). However we should be able to look at any language and pull out its interesting/useful features.
I loved perl's can do attitude. You wanna do that to an array? sure. it'd going to end bad, but here you go kid, have at it.
Is that good for everyone? no.
does it mean that you need to be hilariously disciplined to make readable code? very yes.
Can one make readable and maintainable code in perl? hell yes. I've worked on some wonderfully maintainable perl code.
I've also worked on a lot of shite. But then the same goes for python. I transmute research code into production, and let me tell you, there are some "perls" of programmers right there.