tinyjo: (webdesigner - chez geek)
Emptied of expectation. Relax. ([personal profile] tinyjo) wrote2008-06-18 04:28 pm

Message from my past self

Comment found in my code this afternoon:

This is quite a complicated query built of lots of sub queries so if what follows is unclear, ask Jo about it (if you are future Jo reading this then bad luck, you just have to figure it out :) ).


I actually remember writing this - I wasn't convinced that anyone would be able to follow the explanation I'd written. Actually, reading it back now, it looks fine, although I'd probably use common table expressions to make the structure clearer.

[identity profile] shepline.livejournal.com 2008-06-18 03:36 pm (UTC)(link)
Cool! That's what I like about comment functions is you can squirrel away all kind of little insights for others to dig up years later... :-)

[identity profile] crschmidt.livejournal.com 2008-06-18 03:50 pm (UTC)(link)
That's great :) Reminds me somewhat of: http://bash.org/?6824

[identity profile] tinyjo.livejournal.com 2008-06-18 04:01 pm (UTC)(link)
LOL (I actually am giggling in the office - I'm getting looks :))

A distinctive voice...

[identity profile] oxfordslacker.livejournal.com 2008-06-18 03:58 pm (UTC)(link)
Yesterday I was sorting out an export problem, and in the stored procedure I found:
Camden's tax periods change on the last Sunday of each month (curse them!)
I knew immediately that it was you who had written it...

Re: A distinctive voice...

[identity profile] tinyjo.livejournal.com 2008-06-18 04:00 pm (UTC)(link)
Hah, yes :) I always try to make my comments more conversational than dry - it's a style I find easier to read back afterwards.

[identity profile] topicaltim.livejournal.com 2008-06-18 10:25 pm (UTC)(link)
What would be properly disturbing would be to find you'd left yourself an image of yourself wagging a finger and saying "Spoilers".