Top "Comparison" questions

Questions about data comparison and efficient ways to accomplish it.

Samples of Scala and Java code where Scala code looks simpler/has fewer lines?

I need some code samples (and I also really curious about them) of Scala and Java code which show that …

java scala comparison language-features
What's so cool about Twisted?

I'm increasingly hearing that Python's Twisted framework rocks and other frameworks pale in comparison. Can anybody shed some light on …

python comparison twisted
Python Comparison of byte literals

The following question arose because I was trying to use bytes strings as dictionary keys and bytes values that I …

python comparison byte endianness base
How to find out if letter is Alphanumeric or Digit in Swift

I want to count the number of letters, digits and special characters in the following string: let phrase = "The final …

comparison character swift digits
Python: DeprecationWarning: elementwise == comparison failed; this will raise an error in the future

While trying out the udacity course deep learning assignment, I came across a problem with comparing the predictions of my …

python numpy machine-learning comparison logistic-regression
Comparing two NSNumber objects

I used this code to compare two NSNumber objects, but it never passed the if condition. listItems = [appDelegate.productStatus componentsSeparatedByString:@","]; …

ios comparison nsnumber
Compare two Arrays Javascript - Associative

I have searched on here for a quality method to compare associative arrays in javascript. The only decent solution I …

javascript arrays comparison associative
Why Java does not see that Integers are equal?

I have integers that are supposed to be equal (and I verify it by output). But in my if condition …

java comparison if-statement equals
Compare two objects with a check for null

Is there a method in the JDK that compares two objects for equality, accounting for nulls? Something like this: public …

comparison null equals java
Tool or library for comparing xml files

I am looking for an XML comparing tool that understands xml. It cannot be a line by line comparision like …

xml comparison content-management