Re: Avoiding == and = mixup in if statements
Re: Avoiding == and = mixup in if statements
- Subject: Re: Avoiding == and = mixup in if statements
- From: Adam <email@hidden>
- Date: Fri, 21 May 2004 21:51:28 -0400
On May 21, 2004, at 7:33 PM, David Blanton wrote:
On 5/21/04 2:48 PM, "Mel Walker" <email@hidden> wrote:
On May 21, 2004, at 1:22 PM, David Blanton wrote:
Every response I have seen attacks the symptom and not the problem;
a
very
poor approach to software engineering.
The problem is not knowing the language. If you want to add two ints
do you
know to use + or are you confused by - because it 'kinda looks like
+,
half
of it anyway."
This topic has been beaten to death on this list when the answer is
learn
the language!!
There, I finally said it.
Except you forgot the part about never never never ever ever ever
making a typo.
Unless, of course, you really honestly believe that everyone who makes
that mistake, makes it because they don't really know C very well. :-)
_______________________________________________
I think that anyone who make the = when it should be == error more
than once
should reconsider their position. McDonalds has pictographs on their
keyboards to prevent this kind of error. :-|
I agree with the sentiment here, but I would like to say in my own
words that it can be hard for beginner programmers to see the
difference. Eventually it becomes second nature, or you move on the
patty flipping.
Adam
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.