Top "Comparison" questions

Questions about data comparison and efficient ways to accomplish it.

Comparing NaN values for equality in Javascript

I need to compare two numeric values for equality in Javascript. The values may be NaN as well. I've come …

javascript comparison equality nan
EJB 3.1 or Spring 3.. When to choose which one?

EJB achieved many improvements in 3.x versions, Spring is also commonly used and version 3 is a good alternative. There are …

comparison ejb-3.0 ejb-3.1 spring-3
php == vs === operator

What is the difference between == and === in PHP? What would be some useful examples? Additionally, how are these operators used …

php comparison operators equality
What is the rationale for all comparisons returning false for IEEE754 NaN values?

Why do comparisons of NaN values behave differently from all other values? That is, all comparisons with the operators ==, <=, &…

floating-point comparison nan ieee-754 iec10967
Why `null >= 0 && null <= 0` but not `null == 0`?

I had to write a routine that increments the value of a variable by 1 if its type is number and …

javascript null comparison equality
Comparison of CI Servers?

I am searching for a comparison of different continuous integration (CI) Servers (esp. focusing on .NET) and couldn't find any. …

.net comparison continuous-integration
C# vs Java generics

I have heard that the Java implementation of Generics is not as good as the C# implementation. In that the …

c# java generics comparison
How to efficiently compare two maps of strings in C++ only for a subset of the keys

I'm wondering if only by applying some standard algorithms is possible to write a short function which compare two std::…

c++ stl comparison maps std
How do I compare the contents of two dlls?

I would like to compare several dlls of one install to several dlls of another install of the application I'm …

.net dll comparison disassembly
SQL Server RowVersion/Timestamp - Comparisons

I know that the value itself for a RowVersion column is not in and of itself useful, except that it …

sql-server comparison timestamp inequality rowversion