Prev: Mechanize/ClientForm - How to select IgnoreControl button and submit form
Next: How do I install GMPY 1.11 on a Mac with OS X 10.6 and Python 3.1?
From: Lie Ryan on 23 Dec 2009 16:13 On 12/24/2009 8:00 AM, MRAB wrote: > > >>> print first_twin == second_twin > True err... I don't think there is any situation where first_twin == second_twin wouldn't be considered a bug. They look similar, they act similar, and they quack the same; though you can almost always treat them the same they are still ultimately different person?
From: Steven D'Aprano on 23 Dec 2009 16:40 On Wed, 23 Dec 2009 19:03:36 +0000, MRAB wrote: >> if whatDo == 'insert': >> theVal = defaultVal >> val = defaultVal >> > What's the difference between theVal and val? The names don't help me! Oh MRAB! Isn't it obvious? theVal has a leading definite article while val doesn't! Really MRAB, if you can't comprehend such clear and obvious code, you'll never be a good programmer! -- Steven
From: Albert van der Horst on 29 Dec 2009 10:37
In article <4b328813$1(a)dnews.tpgi.com.au>, Lie Ryan <lie.1296(a)gmail.com> wrote: >On 12/24/2009 8:00 AM, MRAB wrote: >> >> >>> print first_twin == second_twin >> True > >err... I don't think there is any situation where first_twin == >second_twin wouldn't be considered a bug. They look similar, they act >similar, and they quack the same; though you can almost always treat >them the same they are still ultimately different person? They have a different Personal-Identification-Number as required by the Tax Office, so they are different. Also probably they have different fingerprints. Groetjes Albert. -- -- Albert van der Horst, UTRECHT,THE NETHERLANDS Economic growth -- being exponential -- ultimately falters. albert(a)spe&ar&c.xs4all.nl &=n http://home.hccnet.nl/a.w.m.van.der.horst |