1 σχόλιο »

    • #1
    • Malcolm Tredinnick
    • Very true. There’s another advantage to waiting until the third time: after you’ve only done something once, your level of experience with the usage probably isn’t broad enough to make an abstraction that really works well. It will either be over-generalised — usually resulting in over-complicated — or too restrictive.

      Sometimes, though, you end up tweaking version one so often that the only reason you’re writing version two is to stop all the tweaking, meaning abstraction probably is the right moment. But that’s more a case of needing to count one, two, three differently. I do agree with your rule of thumb, though. Only to be broken when there are good reasons that you can explain to somebody else.


Comment!




Feel free to express yourselves!

Please read the comment policy before commenting.

Your email address will never be published. It is only asked to send you a personal email if needed. I hate spam too.

XHTML tags allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped=""> . For block quotes use <blockquote>.

 


Reduce textarea size Increase textarea size


 
π
Last post: April 26 2012, 03:14 UTC