|
|
|
|
|
by Florin_Andrei
4172 days ago
|
|
> I used to hate Perl until I had to write some non-trivial shell scripts, then I realized Perl was a godsend compared to shell If the job requires one page of code or less, use shell. If it requires more than one page of code, use Python or whatever. Simple as that. I still hate Perl anyway - source code obfuscation by design is a terrible thing to do to your brain. |
|
The problem with this simple guideline is that tools grow, so what was well less than a page becomes much moreāand each small increment is too small to justify a complete re-write, so eventually you wind up with a huge shell-script monster.