26 July 2006

Dating Advice for Programmer Candidates

Allow me to impart some sage advice to all you up-and-coming programmers on the subject of dates. If an interviewer asks you for sample source code don't pick the one with all your custom and so-very-fancy date validation functions. Especially if those functions check dates by string parsing. You're going to look like a fool.

If you aren't trying to invent a new programming language then there's no reason your date validation should be more than a few lines of very simple code. I can't think of a modern high-level programming language that doesn't have some sort of basic date object & regular expression syntax.

0 Comments:

Post a Comment

Links to this post:

Create a Link

<< Home