[Toybox] toybox - added cmp

Tim Elliott tle at holymonkey.com
Tue Feb 7 11:04:55 PST 2012


On Tue, Feb 7, 2012 at 5:29 AM, Rob Landley <rob at landley.net> wrote:
> Really what I'm doing is waiting to see what I need as more commands
> come in, and refactoring my existing infrastructure to cleanly handle
> what it actually needs to _do_.  (Implementing "infrastructure in search
> of a user" is particularly bad form of premature optimization. I often
> do redundant implementations of things in various commands and then
> factor the common code out, then clean stuff up to be more elegant after
> the fact...)

Couldn't agree more with that approach. You're not ready to refactor
redundant implementations until you are sick of repeating yourself.
Before you reach that point, you don't know enough and you'll probably
get it wrong.

Cheers,
Tim

 1328641495.0


More information about the Toybox mailing list