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

I find the Perl and especially the Ruby versions are a bit easier to read than any of those Python examples.

If u like left to right chains then Perl can also be written like so...

  use autobox::Core;

  say [ 0..255 ]->map( sub { chr } )->grep( sub { m/\w/ } )->sort->join('');

/I3az/


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

Search: