Palit, Nilanjan said:
>               $> perl -e '$x=1; $y=$x+++1; print "x=$x, y=$y\n"'

Bummer. I just got a ding on your interview.
How do you parse $x+++1 ?

Personally, I wouldn't ask anything that wouldn't
be within the coding approach I would want to use.
I tried to write "Impatient Perl" with absolutely
no "Look how cool I am" type code. It's all
written with examples that follow what I would
consider "good" coding practices. I'd rather
have code be maintainable six months from now
than to have it win a game of perl-golf today.


 
_______________________________________________
Boston-pm mailing list
[email protected]
http://mail.pm.org/mailman/listinfo/boston-pm

Reply via email to