Re: Avoiding == and = mixup in if statements
Re: Avoiding == and = mixup in if statements
- Subject: Re: Avoiding == and = mixup in if statements
- From: mathew <email@hidden>
- Date: Sat, 22 May 2004 17:15:12 -0400
On May 21, 2004, at 14:07, David Blanton wrote:
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!!
Some of us aren't amateurs, and know many programming languages. It's
all too easy to momentarily forget whether you should be using '=' 'eq'
'==' 'equals' or a method to compare two things, when you write code in
three or four different languages most days.
Sure, if all you know is C, the answer is to learn the language better.
mathew
_______________________________________________
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.