Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Perl 5 vs 6 (or Go, Python, Ruby et al); which language(s) FTW, and why? (rosettacode.org)
4 points by raiph on Aug 13, 2012 | hide | past | favorite | 2 comments


As much as I like Go, I find it a bit of an unfair game when the standard library has a ParseIP function.


Several of the solutions use a library function to do the main parsing. It makes sense if one is available. And it may be more robust if the library code is well written.

I'm a Perl fan. I love Perl 6. Imo, if you partition the Perl 6 solution into (what will clearly become) library functions (the grammar bit) and actual code (the "for @cases" bit), it's shorter and more readable than most of the other solutions.




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

Search: