[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Sort function modifies the table being sorted?
- From: Egor Skriptunoff <egor.skriptunoff@...>
- Date: Fri, 22 Jun 2012 01:26:49 +0300
On 6/14/12, Jorge <firstname.lastname@example.org> wrote:
> Abusing the comparison operator of a sorting function is a classic.
Thank you, Jorge.
The article is quite interesting.
Such a simple and innocent mistake leads to very strange behaviour of code.
It is very like to spirit of ideas from "Underhanded C Contest".
“Never attribute to malice that which can be adequately explained by