2 ms·
If you're writing a lot of command line scripts and want some of the safety offered by types, but still want the flexibilty of python (+ more flexibility), you
by totalperspectiv 8y ago
If you're writing a lot of command line scripts and want some of the safety offered by types, but still want the flexibilty of python (+ more flexibility), you should check out perl6.
Gradual typing: https://perl6.party/post/Perl-6-Types--Made-for-Humans https://perl6.party/post/Perl-6-Types--Made-for-Humans
Command line arguments: https://perl6advent.wordpress.com/2010/12/02/day-2-interacting-with-the-command-line-with-main-subs/ https://perl6advent.wordpress.com/2010/12/02/day-2-interacti...
And at the end of the day it's perl, so it's the king of command line scripts.