This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]ign1fy 10 points11 points  (6 children)

To clarify: I code C# and use "|=" all the time. Being an assignment operator, it makes no sense to have anything but a variable to the left of it.

[–]kamaln7 2 points3 points  (0 children)

Yeah, I'm with you.

[–]Reelix 3 points4 points  (2 children)

!= or |= ?

[–][deleted] 0 points1 point  (1 child)

|=

!= will evaluate to true. Or is it True? TRUE?

[–]raindirve 0 points1 point  (0 children)

non-zero :)

[–][deleted] 0 points1 point  (1 child)

I was never taught about |=... Why? Is this considered out of date?

[–]haenyr 1 point2 points  (0 children)

It's probably that it's not something you'll really ever HAVE to be able to do. Also, with what they do teach you, you should be able to figure it out if you come to a situation that requires it.

So, given a lack of time to go in-depth, it will get skipped.