Ten points for Gryffindor!
Mar. 25th, 2006 10:41 amAnd also for anyone who can tell me what stupid mistake was made in this
code:
I'm so tempted to start coding in Python, where you can't make this kind of mistake.
Oh, and as a note - I didn't make this mistake, I just spent 2 hours tracking it down. My current mistakes mostly seem to revolve around unthought of results of multiple sections of event-driven code interacting in unforseen ways.
code:
if (!OpalControlsHelper.ProgrammaticChangeOccurring) this.dummySchemeCombo.Text = "No"; this.dataHeldCombo.Text="No";
I'm so tempted to start coding in Python, where you can't make this kind of mistake.
Oh, and as a note - I didn't make this mistake, I just spent 2 hours tracking it down. My current mistakes mostly seem to revolve around unthought of results of multiple sections of event-driven code interacting in unforseen ways.
no subject
Date: 2006-03-25 11:16 am (UTC)no subject
Date: 2006-03-25 11:18 am (UTC)no subject
Date: 2006-03-25 11:27 am (UTC)no subject
Date: 2006-03-25 12:19 pm (UTC)no subject
Date: 2006-03-25 05:59 pm (UTC)no subject
Date: 2006-03-26 09:03 am (UTC)Personally VS.NET is the best IDE I've ever used. There is a guy at work who uses Eclipse, but that's because it's the the best IDE for Action Script (which is what he mainly does).
Whatever criticism people have of Microsoft they make good IDEs (and mice although I believe someone else makes their mice).
no subject
Date: 2006-03-26 09:24 am (UTC)I didn't get a wavy line with the code I posted - should I have?
no subject
Date: 2006-03-26 09:28 am (UTC)no subject
Date: 2006-03-26 10:07 am (UTC)no subject
Date: 2006-03-26 11:31 am (UTC)I personally hate them to death as they're confusing, and lead to situations such as above, but, er, different. Ahh welL!
no subject
Date: 2006-03-26 11:34 am (UTC)I think I'd like to be able to turn on a compiler warning that insisted on having {} after any if statement.
no subject
Date: 2006-03-26 05:31 pm (UTC)no subject
Date: 2006-03-28 01:26 pm (UTC)I could theoretically write an extension to do it, but I'm not sure I care _that_ much at the moment.
no subject
Date: 2006-03-25 11:41 am (UTC)no subject
Date: 2006-03-25 11:44 am (UTC)Ten points for you!
no subject
Date: 2006-03-25 11:48 am (UTC)no subject
Date: 2006-03-25 11:49 am (UTC)no subject
Date: 2006-03-25 12:21 pm (UTC)no subject
Date: 2006-03-25 12:37 pm (UTC)no subject
Date: 2006-03-25 06:04 pm (UTC)no subject
Date: 2006-03-25 07:45 pm (UTC)And darn it, it's McConnell, not Cooper. I've had Asylum on the brain lately.
no subject
Date: 2006-03-27 10:14 am (UTC)no subject
Date: 2006-03-25 02:37 pm (UTC)no subject
Date: 2006-03-25 02:38 pm (UTC)no subject
Date: 2006-03-25 03:01 pm (UTC)Haskell uses semantic whitespace too.
no subject
Date: 2006-03-25 05:22 pm (UTC)no subject
Date: 2006-03-25 05:24 pm (UTC)no subject
Date: 2006-03-25 05:56 pm (UTC)no subject
Date: 2006-03-25 05:40 pm (UTC)no subject
Date: 2006-03-25 05:56 pm (UTC)no subject
Date: 2006-03-27 10:15 am (UTC)no subject
Date: 2006-03-28 01:27 pm (UTC)