Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



Forgot your password?
typodupeerror

Submission + - The Evil within the Comparison Functions

Andrey_Karpov writes: Perhaps, readers remember my article titled "Last line effect". It describes a pattern I've once noticed: in most cases programmers make an error in the last line of similar text blocks. Now I want to tell you about a new interesting observation. It turns out that programmers tend to make mistakes in functions comparing two objects. This statement looks implausible; however, I'll show you a great number of examples of errors that may be shocking to a reader. So, here is a new research, it will be quite amusing and scary.
This discussion was created for logged-in users only, but now has been archived. No new comments can be posted.

The Evil within the Comparison Functions

Comments Filter:

Save the whales. Collect the whole set.

Working...