The Glade 4.0

"Turn the lights down, the party just got wilder."
It is currently Sat Nov 23, 2024 2:51 pm

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 23 posts ] 

Which set of characters do you prefer for "does not equal"?
!= 79%  79%  [ 23 ]
/= 7%  7%  [ 2 ]
=/= 10%  10%  [ 3 ]
Other 3%  3%  [ 1 ]
Total votes : 29
Author Message
PostPosted: Tue Oct 02, 2012 1:26 pm 
Offline

Joined: Tue Jan 26, 2010 10:36 am
Posts: 3083
See poll question.


Top
 Profile  
Reply with quote  
PostPosted: Tue Oct 02, 2012 1:29 pm 
Offline
God of the IRC
User avatar

Joined: Wed Sep 02, 2009 7:35 pm
Posts: 3041
Location: The United States of DESU
I voted for '!=', but I also know of '<>' and '-ne'.

_________________
Image


Top
 Profile  
Reply with quote  
PostPosted: Tue Oct 02, 2012 1:34 pm 
Offline
Web Ninja
User avatar

Joined: Wed Sep 02, 2009 8:32 pm
Posts: 8248
Location: The Tunt Mansion
!= because the exclamation point is widely used in programing to mean "does/is not".


Top
 Profile  
Reply with quote  
PostPosted: Tue Oct 02, 2012 1:35 pm 
Offline
Manchurian Mod
User avatar

Joined: Fri Sep 04, 2009 9:40 am
Posts: 5866
The last two are an attempt to replicate the standard handwritten symbol, which does exist in LaTeX as a single symbol:
Attachment:
not equal.png
not equal.png [ 220 Bytes | Viewed 1929 times ]


Lacking such a symbol, the proper formal way to express the relationship is to use the logical NOT operator before the equal sign. !=

_________________
Buckle your pants or they might fall down.


Top
 Profile  
Reply with quote  
PostPosted: Tue Oct 02, 2012 1:42 pm 
Offline
Web Ninja
User avatar

Joined: Wed Sep 02, 2009 8:32 pm
Posts: 8248
Location: The Tunt Mansion
Fortunately it exists in unicode, so if you wanna use it, here you go:



http://www.fileformat.info/info/unicode ... /index.htm


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Oct 02, 2012 1:55 pm 
Offline
I got nothin.
User avatar

Joined: Thu Sep 03, 2009 7:15 pm
Posts: 11160
Location: Arafys, AKA El Müso Guapo!
Now we need a unicode for "Does not want!"

;)

_________________
Image
Holy shitsnacks!


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Oct 02, 2012 2:03 pm 
Offline
The Dancing Cat
User avatar

Joined: Wed Nov 04, 2009 2:21 pm
Posts: 9354
Location: Ohio
!=

I've seen <> and it always confuses me for a second.

_________________
Quote:
In comic strips the person on the left always speaks first. - George Carlin


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Oct 02, 2012 2:08 pm 
Offline
Perfect Equilibrium
User avatar

Joined: Wed Sep 02, 2009 8:27 pm
Posts: 3127
Location: Coffin Corner
I've used != and <>

I believe I picked up the use of <> from BASIC.

_________________
"It's real, grew up in trife life, the times of white lines
The hype vice, murderous nighttimes and knife fights invite crimes" - Nasir Jones


Top
 Profile  
Reply with quote  
 Post subject: Re:
PostPosted: Tue Oct 02, 2012 2:56 pm 
Offline
User avatar

Joined: Wed Sep 02, 2009 7:59 pm
Posts: 9412
Müs wrote:
Now we need a unicode for "Does not want!"

!want

_________________
"Aaaah! Emotions are weird!" - Amdee
"... Mirrorshades prevent the forces of normalcy from realizing that one is crazed and possibly dangerous. They are the symbol of the sun-staring visionary, the biker, the rocker, the policeman, and similar outlaws." - Bruce Sterling, preface to Mirrorshades


Top
 Profile  
Reply with quote  
PostPosted: Tue Oct 02, 2012 3:12 pm 
Offline
Lean, Mean, Googling Machine
User avatar

Joined: Thu Sep 03, 2009 9:35 am
Posts: 2903
Location: Maze of twisty little passages, all alike
BASIC is the only language I'm aware of that uses "<>".

Trivia: in Intel-style x86 and x64 assembly, you do (in)equality testing with a combination of the cmp or sub instruction followed by jz/je or jnz/jne.

Code:
cmp eax, 7h
jne <wherever>

_________________
Sail forth! steer for the deep waters only!
Reckless, O soul, exploring, I with thee, and thou with me;
For we are bound where mariner has not yet dared to go,
And we will risk the ship, ourselves and all.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Oct 02, 2012 3:45 pm 
Offline
User avatar

Joined: Tue Sep 08, 2009 9:36 am
Posts: 4320
Non of the above.

I typically use |= when typing. Tho /= is a close runner up.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Oct 02, 2012 3:51 pm 
Offline

Joined: Wed Sep 02, 2009 10:49 pm
Posts: 3455
Location: St. Louis, MO
I want to say that Pascal uses (or used to use) <> for an inequality operator.

_________________
Image


Top
 Profile  
Reply with quote  
PostPosted: Tue Oct 02, 2012 4:15 pm 
Offline

Joined: Sun Sep 06, 2009 12:09 pm
Posts: 733
In my old FORTRAN days it was .ne. but now it's !=


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Oct 02, 2012 4:26 pm 
Offline
Sensitive Ponytail Guy
User avatar

Joined: Fri Sep 04, 2009 10:18 pm
Posts: 2765
I voted for !=, but my job has me using <> an awful lot.

Oh, also ... NEQ.

_________________
Go back to zero, take a pill, and get well ~ Lemmy Kilmister


Top
 Profile  
Reply with quote  
PostPosted: Tue Oct 02, 2012 5:01 pm 
Offline
User avatar

Joined: Sat Sep 05, 2009 2:40 am
Posts: 3188
C++ taught me !=

_________________
Les Zombis et les Loups-Garous!


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Oct 02, 2012 6:41 pm 
Offline
User avatar

Joined: Thu Sep 03, 2009 3:08 am
Posts: 6465
Location: The Lab
<> and/or =/= != !=


Top
 Profile  
Reply with quote  
 Post subject: Re:
PostPosted: Tue Oct 02, 2012 9:11 pm 
Offline
Sensitive Ponytail Guy
User avatar

Joined: Fri Sep 04, 2009 10:18 pm
Posts: 2765
Midgen wrote:
<> and/or =/= != !=
Sorry to burst your bubble, Midgen but ...

<> == !=

And the logic is perfectly sound.
>= .... greater than or equal to
<= .... less than or equal to
<> .... less than or greater than (aka: not equal to)

_________________
Go back to zero, take a pill, and get well ~ Lemmy Kilmister


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Oct 03, 2012 2:03 am 
Offline
User avatar

Joined: Thu Sep 03, 2009 3:08 am
Posts: 6465
Location: The Lab
gah... i was just trying to be funny.. (poorly apparently)

My bubbles all burst a long long time ago...


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Oct 03, 2012 5:32 am 
Offline
Sensitive Ponytail Guy
User avatar

Joined: Fri Sep 04, 2009 10:18 pm
Posts: 2765
Sorry bout that. It's totally funny, now that I know it's not a deeply-held personal belief.

_________________
Go back to zero, take a pill, and get well ~ Lemmy Kilmister


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Oct 03, 2012 6:53 am 
Offline
The Dancing Cat
User avatar

Joined: Wed Nov 04, 2009 2:21 pm
Posts: 9354
Location: Ohio
/= Always makes me think you are commenting something out.

_________________
Quote:
In comic strips the person on the left always speaks first. - George Carlin


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Oct 03, 2012 9:59 am 
Offline
User avatar

Joined: Thu Sep 03, 2009 11:05 am
Posts: 1111
Location: Phoenix
Definitely !-, followed by <>.

I originally learned to program in BASIC which uses <>, but many years of programming in C, then C++, then Java, have ingrained !=.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Oct 03, 2012 11:58 am 
Offline
User avatar

Joined: Fri Sep 25, 2009 8:22 pm
Posts: 5716
!= clearly means you are excited that it is equal.

My programming days are long behind me. I use /=


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Oct 03, 2012 3:37 pm 
Offline
adorabalicious
User avatar

Joined: Thu Sep 03, 2009 10:54 am
Posts: 5094
!= and I think as above both Pascal and Basic use <> but I haven't used that in a longgggggg time.

_________________
"...but there exists also in the human heart a depraved taste for equality, which impels the weak to attempt to lower the powerful to their own level and reduces men to prefer equality in slavery to inequality with freedom." - De Tocqueville


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 23 posts ] 

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 189 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group