[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnu-arch-users] Unable to 'tla get' from public mirror -- PANIC: I/
Re: [Gnu-arch-users] Unable to 'tla get' from public mirror -- PANIC: I/O error
Wed, 15 Sep 2004 19:21:59 -0400
Mozilla Thunderbird 0.5 (X11/20040306)
James Blackwell wrote:
Meh. Why is it both perl and python both refuse to have switch
statements? That is _so_ braindamaged.
Dictionaries make a great substitute for switch statements:
# Not actually tested.
print "You chose a!"
print "You chose b!"
What's more, they're reusable-- heck, they can even be generated by or
passed to other functions! I suppose now, someone will show us how to
do it with lambdas.
Re: [Gnu-arch-users] Unable to 'tla get' from public mirror -- PANIC: I/O error, maillists, 2004/09/15