News for hackers. Stuff that matters.
Re:Ask HN: How do I get my team to write better code? by Thetawaves on Thursday November 06, 2014 @05:46PM (#8570292)
If your 'coders' are writing functions like findEventsFromLast6Hours, you are not giving them clear requirements.

I assume you gave this engineer the requirement 'find all events from the last 6 hours.'

You should have given them the requirement to find the latest events for a specified interval.

There are no comments on this comment yet.