News for hackers. Stuff that matters.
Re:The MIN Challenge by mihai_ionic on Sunday June 15, 2014 @08:28PM (#7896850)
Meanwhile, in C++14:

    auto min = [] (auto a, auto b) { return a < b ? a : b; };
Re:The MIN Challenge by aetherspawn on Sunday June 15, 2014 @09:47PM (#7897033)
Meanwhile, in Haskell:

    min x y = Data.Bool.bool x y (x > y)
Although considering what the article was talking about, doing stuff like this only makes you sound like an ass.
Re:The MIN Challenge by mihai_ionic on Sunday June 15, 2014 @10:08PM (#7897078)
I have come to really dislike people who think it's a good idea to define macros such as min, max, major and minor in system headers.

* http://msdn.microsoft.com/en-us/library/windows/desktop/dd75...

* http://msdn.microsoft.com/en-us/library/windows/desktop/dd75...

* https://stackoverflow.com/questions/22240973/major-and-minor...