Ben Boyle lives here!

Byte sized coding

Another nice aspect of test driven development: you can code nice nuggets of usable code. If you have the tests assuring everything is stable, you can — and should — commit often. I find it efficient and effective designing my workload around this, aiming to add just one new piece of useful functionality. Never more than a spot. (Or something may happen, you never know what.)

It keeps the code simple in your head. Complexity kills. Simplicity rules. And keeping it simple means it doesn’t take too long, so it isn’t an imposition on your life. And so it is with revision 175 of the forces.forms javscript library, introducing initial support for custom form validation (based on setCustomValidity from the HTML 5 spec).

And truly, that’s enough for a light coding session.

Labels: , , , ,

Remember the Nice!

What is the Nice!? I am not sure myself. I think it is like “the Matrix” in that noone can be told what it is. It's a phrase used on me at work, and I think it relates to the practice of being polite and courteous when trying to shift others' perceptions. The way it's said, I suspect some people would rather I took a sterner approach.

But I'm with everclear on this one: too many haters. Today I had a chance to remember the Nice! once more. I recently sold a baby monitor on ebay, mistakenly talking up its abilities as an intercom. I thought the parent unit (receiver) had a talk button that could be used to talk to the baby monitor (transmitter). Turns out that button is on the transmitter. Why? Makes no sense.

Well the buyer isn't happy but hopefully I have smoothed things over. Perhaps they will remember the Nice! when they reply. Perhaps we should all remember to be nice.

Labels: , , ,

I posted about

sketch: blue bird on an old stump

Which might relate to

sketch: rained in at the cabin

Or might involve my

sketch: waterfall

Can't get enough Ben?

sketch: birds at sunset

sketch: of a dragon

I posted during

sketch: nymph flower shower

Thanks to

© Ben Boyle 2004.