3 ms·
I have to say when I learned perl, it was the most expressive language I had used to date. My thoughts could be very easily expressed as working code. However
by m463 7y ago
I have to say when I learned perl, it was the most expressive language I had used to date.
My thoughts could be very easily expressed as working code.
However, I noticed the same thing happened for other people, BUT they didn't think like I did.
Some used different ways of expressing the same thing, such as "if not" vs "unless". (although I do like unless)
When I learned python I thought it was clumsier. It was harder to use regular expressions, and didn't have shortcuts like:
while(<>) { $a = 1 if /abc/; }
But python seemed to add the right amount of structure. Similar code came from different developers.
Also, trading (it now seems) unnecessary syntax items like braces and semicolons for syntactic indenting has made the language much more compact on the screen and therefore more is readable at a glance.
- kumarvvr 7y ago> Also, trading (it now seems) unnecessary syntax items like braces and semicolons for syntactic indenting has made the language much more compact on the screen and therefore more is readable at a glance Most definitely. I hate typing those colons and brackets.