FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » using same variable twice on same page
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: OT: Assignment operator (Was: using same variable twice on same page) [message #171622 is a reply to message #171360] Wed, 12 January 2011 15:53 Go to previous messageGo to previous message
sheldonlg is currently offline  sheldonlg
Messages: 166
Registered: September 2010
Karma:
Senior Member
On 12/30/2010 2:45 PM, August Karlstrom wrote:
> On 2010-12-30 20:21, richard wrote:
>> On Thu, 30 Dec 2010 15:35:10 +0100, August Karlstrom wrote:
>>> The equal sign `=' has been used in mathematics since medieval times to
>>> denote equality. To use `==' for equality and `=' for something else
>>> (assignment) is not sensible.
>>
>> Not really. As in various programming languages dictate, usage and
>> display
>> can be quite different.
>>
>> In BASIC and simpler low level languages, we say<>, meaning "not equal"
>> while in the higher level languages we say, !=.
>
> The symbols `/=' and `#' are also used in some high-level languages. It
> is unfortunate that the not-equal-to sign is neither on a standard
> keyboard nor in the 7-bit ASCII table. As a general guideline, however,
> I don't think language designers should redefine the meaning of well
> known symbols from mathematics. Or why not let `+' be the
> increment-by-one operator and `++' denote addition? Why not? After all,
> as Jerry Stuckle mentioned, programming is not mathematics.
>
>
> /August
>

August, I am a very big fan of the New England Patriots football team.
The coach, Bill Belichik has a favorite expression -- "It is what it is".

IOW, live with it.

(This is a stupid thread).

--
Shelly
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: AND in the if statement
Next Topic: login script using file, not mysql
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Nov 26 17:55:44 GMT 2024

Total time taken to generate the page: 0.04749 seconds