News for hackers. Stuff that matters.
Re:Making code better with code reviews by GrinningFool on Wednesday July 02, 2014 @10:29AM (#7977156)
And all of them are better than

    total_seconds = hours * atoi(getenv("SECONDS_PER_HOUR"));
Because you know, we might want to change that value some day.

I've got a blog post coming up along these lines in the next few days.

Re:Making code better with code reviews by raverbashing on Wednesday July 02, 2014 @10:35AM (#7977191)
Yes, please

And someone is going to criticize you saying SECONDS_PER_HOUR may be a float, so you should use atof