3 ms·
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 ] ];
by Mithaldu 17y ago
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 ] ];
- chromatic 17y agoThat right-side expression looks very much like how a serious Python developer would create a list of lists. Hm.
- Mithaldu 17y agoNot 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.)
- chromatic 17y agoI'm merely pointing out that an honest complaint about the Perl syntax for creating nested arrays applies equally well to Python.