|
|
hmm
if (1 =/= 2) { } error: expected primary-expression before "/=" token
if (1 != 2) { } build successful
i support this
|
Your blog is NOT =/= pretentious
n_n; teehee
|
this post != 1 star
this post = 5 stars
edit:dammit ninja'd
|
I'm partial to the =/= I've never seen != used before and it looks awkward...
|
It's worse than that IMO
You would never say like
if(teamliquid.contains(member)) { assert(member == good) }
because that would be a terrible equality operator to write.
The member object would never be equal to the good object.
It would really be like:
assert(isGoodPlayer(member));
== is really direct equality not "this predicate applies to this object"
|
Snet
United States3573 Posts
My goodness, I never knew.
|
Being a TL member =/= knowing correct programming notation for "NOT EQUALS"
|
User was warned for this post.
|
Being a TL member =/= having to speak in programming. != does not looks like it means "does not equal", whatever programmers say. =/= does. Hey, if everybody used Macs we could just use the actual sign. (Not saying we should all use Macs, just pointing this out.)
|
why don't you use <> while you're at it too pfft
|
!= is a great expression. I support this.
|
|
On October 22 2009 01:54 cgrinker wrote:
And I'm going to tell you why.
A lot of users have recently started using inequalities in their post. For instance, "Being a member of TL does NOT make you a good SC player." Notice the not in saying that the field on the left and the field on the right are unequal.
Now, I continualy see people using two equal signs and a forward slash to represent not equal. That is ugly and wrong and if you do it then you are lame. Use "!=" to represent not equal.
Have a Good Day!
-Cg
You never explained why it's wrong. You just gave a subjective opinion (that it's ugly). Unless the admins reinforce it, I don't see why this is wrong. This is a gaming forum not a programming forum.
|
United States17042 Posts
On October 22 2009 02:23 Chromyne wrote:Show nested quote +On October 22 2009 01:54 cgrinker wrote:
And I'm going to tell you why.
A lot of users have recently started using inequalities in their post. For instance, "Being a member of TL does NOT make you a good SC player." Notice the not in saying that the field on the left and the field on the right are unequal.
Now, I continualy see people using two equal signs and a forward slash to represent not equal. That is ugly and wrong and if you do it then you are lame. Use "!=" to represent not equal.
Have a Good Day!
-Cg You never explained why it's wrong. You just gave a subjective opinion (that it's ugly). Unless the admins reinforce it, I don't see why this is wrong. This is a gaming forum not a programming forum.
I think that it's pretty clear that it's an opinion - I think that everyone would agree that as long as you are understandable when you make your argument, that it doesn't matter for clarity's sake.
subjective opinions are allowed...and not enforced.
this almost follows the guide for trolling though xD
|
On October 22 2009 02:20 Hittegods wrote: What's wrong with ≠? you have to go to charmap to use it lOL
|
From a programming standpoint you're right. From a real world standpoint, nobody cares!
Though seriously, =/= bugs me too. If you can't make a strike through a single =, then use !=, the rational alternative.
|
United States47024 Posts
I use != when I can be assured people know what it means. I use =/= when that's not guaranteed. Obviously, the latter applies to TL.net.
|
Being a member of TL.net != Programming experience, understanding or interest.
|
Maybe most programming languages don't recognize it, but ≠ is a perfectly valid mathematical symbol. I agree that =/= is ugly and nonsensical though; I'd rather see != if people aren't going to bother typing the correct symbol.
|
|
|
|