I default to python for scripting at work because it is popular - we are more likely to find folks who have at least seen it before. Most of my throwaway and experimental code is Perl5, just out of long habit.
I default to python for scripting at work because it is popular - we are more likely to find folks who have at least seen it before. Most of my throwaway and experimental code is Perl5, just out of long habit.
It "downgraded" regular expressions, which are entrenched as first-order citizens in most of unix, and made you use function calls instead.
Although it would seem to make regular expressions clumsier to use, it made it easier to encode and decode them.
One of the most frustrating and painful things is trying to figure out if something in a regular expression is a literal character, a matching character or an escape character, and it can be deeper, such as a variable or other syntax character from the enclosing language. This kind of stuff trips up beginners and seasoned folks alike.
Python did the same thing with path manipulation, which suffered from the same sorts of problems.
Also the ellipsis literal `...`, never need to use `pass`.