Top "Comparison" questions

Questions about data comparison and efficient ways to accomplish it.

Comparing two List<string> for equality

Other than stepping through the elements one by one, how do I compare two lists of strings for equality (in .…

c# .net collections comparison equality
The 3 different equals

What is the difference between =, ==, and ===? I think using one equal sign is to declare a variable while two equal …

php comparison operators
Why is 128==128 false but 127==127 is true when comparing Integer wrappers in Java?

class D { public static void main(String args[]) { Integer b2=128; Integer b3=128; System.out.println(b2==b3); } } Output: false class …

java integer comparison pass-by-reference pass-by-value
How do I compare string and boolean in Javascript?

I got the Json "false" from server. I respond as bool but it's Json so it's in browser type is …

javascript string comparison boolean-logic boolean
Is there any use for Bash scripting anymore?

I just finished my second year as a university CS student, so my "real-world" knowledge is lacking. I learned Java …

python perl bash scripting comparison
How does a Python set([]) check if two objects are equal? What methods does an object need to define to customise this?

I need to create a 'container' object or class in Python, which keeps a record of other objects which I …

python methods comparison set
Compare Strings Javascript Return %of Likely

I am looking for a JavaScript function that can compare two strings and return the likeliness that they are alike. …

javascript string algorithm comparison
Comparing object used as Key in Dictionary

my class: public class myClass { public int A { get; set; } public int B { get; set; } public int C { get; set; } …

c# dictionary comparison equals contains
How to use 'If $(this) has data-attribute'

I'm with a little problem. I've got a few buttons, each with a different data-function="" attribute. I want to execute …

jquery if-statement comparison custom-data-attribute
List of rich web application technologies

I am trying to get myself acquainted with the world of rich web application. There are some comparison tables of …

web-applications comparison rich-internet-application