• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Avoiding == and = mixup in if statements
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >Re: Avoiding == and = mixup in if statements (From: David Blanton <email@hidden>)

  • Prev by Date: Programming contest: ICFP, 4th June 2004
  • Next by Date: Re: XCode style toolbar buttons
  • Previous by thread: Re: Avoiding == and = mixup in if statements
  • Next by thread: Re: Avoiding == and = mixup in if statements
  • Index(es):
    • Date
    • Thread