Top "Operators" questions

Does the Java &= operator apply & or &&?

Assuming boolean a = false; I was wondering if doing: a &= b; is equivalent to a = a && b; //…

java operators
Is there a C# case insensitive equals operator?

I know that the following is case sensitive: if (StringA == StringB) { So is there an operator which will compare two …

c# .net string operators case-insensitive
What is <=> (the 'Spaceship' Operator) in PHP 7?

PHP 7, which will come out in November this year will introduce the Spaceship (<=>) operator. What is it and …

php operators php-7 spaceship-operator
What's the difference between “mod” and “remainder”?

My friend said that there are differences between "mod" and "remainder". If so, what are those differences in C and …

c math operators
proper name for python * operator?

What is the correct name for operator *, as in function(*args)? unpack, unzip, something else?

python operators splat
What is Ruby's double-colon `::`?

What is this double-colon ::? E.g. Foo::Bar. I found a definition: The :: is a unary operator that allows: constants, …

ruby syntax operators
What do all of Scala's symbolic operators mean?

Scala syntax has a lot of symbols. Since these kinds of names are difficult to find using search engines, a …

scala operators
Can't operator == be applied to generic types in C#?

According to the documentation of the == operator in MSDN, For predefined value types, the equality operator (==) returns true if the …

c# generics operators equals-operator
Difference between "or" and || in Ruby?

What's the difference between the or and || operators in Ruby? Or is it just preference?

ruby operators
The tilde operator in Python

What's the usage of the tilde operator in Python? One thing I can think about is do something in both …

python operators