4 ms·
> But Python has trounced Perl for almost any task. Well, I think Perl beats Python in quick and concise one-liners written from the command line, doesn't it?
by jolmg 7y ago
> But Python has trounced Perl for almost any task.
Well, I think Perl beats Python in quick and concise one-liners written from the command line, doesn't it?
Not that I know much Perl, though.
- petre 7y agoIt does but it's still annoying to write on a line as opposed to Ruby or Lua. Writing Python one liners with significant whitespace is out of the question I guess.
- snapdangle 7y agoRaku includes an incredible amount of new tools for writing one-liners. Furthermore, you can convert your one-liner into a command line app simply by wrapping the code in a `sub MAIN($pos-arg, :$named-arg) { ... }`.
- petre 7y agoYes but it has a VM penalty for at least more than 500 ms in my box, which is kind if dissapointing.