Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> 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.



It 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.


Raku 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) { ... }`.


Yes but it has a VM penalty for at least more than 500 ms in my box, which is kind if dissapointing.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: