News for hackers. Stuff that matters.
Re:Re: Linux 3.0-rc3 "In other words: don't be stupid." by mitchty on Wednesday June 15, 2011 @02:26PM (#2658412)
Yep, he's pointing out that checking a version string doesn't actually check that the version you are running actually supports what you want.

One reason why in my code I check how something behaves and rarely for a version number. Test that a feature exists or not and base your behavior on that instead.

There are no comments on this comment yet.