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

His complaint about this part shows his cluelessness: @x = (1, 2, 3, (4, 5));

A serious perl developer would write this like: my $x = [ 1, 2, 3, [ 4, 5 ] ];



That right-side expression looks very much like how a serious Python developer would create a list of lists. Hm.


Not entirely sure what you're saying, but i touched python only once in my life and didn't like it a lot. :) (Still completed the task though.)


I'm merely pointing out that an honest complaint about the Perl syntax for creating nested arrays applies equally well to Python.




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

Search: