Skip to main content

To the Newbies: Want to be a 'Good' developer?

[mount soapbox]

So, I have a beef.   I'll lay it out for you with a hypothetical situation.  (Perhaps only partly hypothetical...)

You develop an application for a customer in a different time zone.   Let's say a 'quite' different timezone.   While they are conducting UAT (user acceptance testing) they mention that the Date Recorded of a document doesn't seem to be in their timezone.   You look at the code and realize you are setting the field with @Now.

You implement a fix on that field to adjust @Now to their timezone.  Something like @Adjust(@Now;0;0;0;ClientTimeZone;0;0).   Simple fix and the client's happy.

Now, do you want to be a 'Good Developer'?

Then take a good look at the system, and everywhere else in the workflow that you're using @Now, adjust them too...

If you merely want to be mediocre and the subject of humiliation by your support department?   Just leave them alone.   No one will notice the time difference between GMT-5 and GMT+11, right?

[dismount soapbox]

Comments

  1. It is important to teach young employees not to just "do what was asked" but to think about what is *really needed*. It is a valuable distinction, and makes a more valuable employee - in any department (not just programming).

    If, however, you're having this problem with a more experienced employee, the mindset may be entrenched. I pity you.

    ReplyDelete

Post a Comment

Popular posts from this blog

Fun Little Earthquake

It's 1:45pm EST in Ottawa, Ontario, Canada. We just had an earthquake.  Not strong enough to damage anything, but enough that I watched people run out of buildings. What a fun Wednesday.

Error 217 - Error creating product object on Domino 64 bit

I'd like to share something with you.   An error that you'll get if you are trying to use ODBC with Domino 8.5.1 64bit. It starts out with an agent error of Error 217.  The text of the error is "Error creating product object" You can read about it here on the Notes/Domino forum . You can find the solution here as well . I guess I'm now waiting for Domino 8.5.2 for a solution for this.   It would have been nice to have had this in the release notes.  It would have help me greatly.

Lotus Trading Cards

I was painting the house last night, and my mind got to wandering... Bruce Elgort mentioned on Twitter last night that he was thinking of a VC fund for Lotus projects. So my mind wandered about that, and turned to how we present ourselves. I got to thinking that business cards are so ... old school. I think we need Trading Cards. So, here are the first few I've come up with.