4 ms·
> For example, it doesn’t support functions with arguments, Well, you can name your arguments if you want to. You can use hashes. Or you could just get a bunch
by forinti 7y ago
> For example, it doesn’t support functions with arguments,
Well, you can name your arguments if you want to. You can use hashes. Or you could just get a bunch of unnamed values.
I like this flexibity. I also like that you can make the language evolve without having to add syntax (something Java is suffering from).
- shadowgovt 7y agoModern IDEs make syntax addition cheap. One of the primary advantages of perl is its terseness, but that advantage diminishes in an era of IDEs converting a few keystrokes into a hundred characters of (better self-documenting) code.
- Amorymeltzer 7y agoThis was mind-bending for me too. It seems like the author is just arguing that since the syntax is different it's worse? The flexibility in Perl is nice, and while references can be a real PitA, a weird assertion to just make.
- Ultimatt 7y agoOne day my comment on the article might get approved showing that the syntax is also "modern" since like 2008! 2014 was formal support in the core of the language with `use feature 'signatures'` in version 5.20