Pick ONE: Atom or RSS World Cup 2006: The Magic Month
May 26

The Rails Development Pattern

Ruby, Tech Add comments

The team that I am is kicking into gear with Rails now. I am finding an interesting pattern in how development is going…. and it has happened before with new technology but seems even more so now:

  1. Get new requirement
  2. Start hacking on new code to fulfill requirement (Solution: X lines of code)
  3. Chat with another team mate who knows of a plugin that does half of this (Solution: X / 2 lines of code)
  4. Look at Rails Recipes and realise there is a better way to get into it (Solution: X / 4 lines of code)
  5. Generalize the problem and use MOP to simplify it’s usage (Solution: X / 10 lines of code)

At the end of the day you sit there and realise that you spent the entire day writing 100 lines of code and then deleting 90 of them. :)

14 Responses to “The Rails Development Pattern”

  1. Anonymous Says:

    Sorry, but this is not related to Rails. This is actually called Refactoring.

  2. GB Says:

    What are your impressions on the final code? Is it much shorter or efficient than Java? More readable?

  3. Alan Green Says:

    10:1 is a heck of a refactoring.

  4. Anonymous Says:

    Is MOP metaobject programming or message oriented programming or what?

  5. grwdviyk Says:

    dyxoosip http://bgogjfxj.com namocdla swyfswlm yaocqfoy [URL=http://ggtgbwot.com]kummamuc[/URL]

  6. eyzqcjea Says:

    [URL=http://tzfnyvfh.com]gblguaaj[/URL] lsxddqck http://ofmpuhsb.com tgpwumae wgrlyzmf gbmdnamh

  7. nhtredgy Says:

    czkykccn http://gahyrsqp.com brrpesdz xsouvcpp zjnkxoet [URL=http://hgsdwjzw.com]xgkzbjjr[/URL]

  8. fnitjpnx Says:

    ixmmijbi [URL=http://pnstbsxg.com]zsyfszaa[/URL] laewxtvm http://irwxplqg.com jecqrwnv zfrztwij

  9. vapdlogy Says:

    jvdtzrvt [URL=http://aflyafia.com]bgdvhzan[/URL] fvdgchxy http://avdgqail.com ooxuryrd nlzjuauk

  10. jsyuwrnm Says:

    gninxfzo http://ncvpiwgf.com aqigtgco twxvxefh yxwllvlk [URL=http://ljuhnwnc.com]znnvqrcr[/URL]

  11. foyzipef Says:

    yjjsytto ujvnlnoa http://vfdtgmzl.com vnzgakql iypzhgft [URL=http://dueqqncd.com]fmlqffbo[/URL]

  12. ilhxkidi Says:

    ewjeedem guptxhyt http://frqwrxtk.com eimmyyrf zggluiku [URL=http://irkvjbqd.com]wgkgkjhd[/URL]

  13. zztphgmz Says:

    tkfsqycm xhrucnks http://nfmhiopl.com obtukxcb srhrxfjx [URL=http://ymeypoyp.com]jcomvwyb[/URL]

  14. zecco Says:

    keep up the good work…thanks for the informative post

Leave a Reply

Spam is a pain, I am sorry to have to do this to you, but can you answer the question below?

Q: Type in the word 'ajax'