Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Writing Code that Writes Code

Writing Code that Writes Code

The best developers are fundamentally very lazy. What if there was a way to write a fraction of the volume of code you currently write without losing any functionality, and massively increasing code quality (can you say ‘100% test coverage’)?

Code generation allows us to do exactly that: we can write less code that does more. Imagine a world where all your code is unit-tested, fully documented, clearly commented, fully optimised, is a joy to maintain, and /still/ meets all the requirements. That world is exactly what code generation offers.

Why outsource code to someone halfway around the world when you can outsource it to the little goblins inside the magic box on your desk? Steve Marshall will show you the how, the why, and the ‘what’s that warm feeling inside?’

You can also watch the video on Skillsmatter’s site: http://skillsmatter.com/podcast/home/code-generation-in-action

Steve Marshall

August 04, 2009
Tweet

More Decks by Steve Marshall

Other Decks in Technology

Transcript

  1. Code munging Inline code expansion Mixed code generation Partial class

    generation Tier generation Full domain language
  2. Code munging Inline code expansion Mixed code generation Partial class

    generation Tier generation Full domain language
  3. Code munging Inline code expansion Mixed code generation Partial class

    generation Tier generation Full domain language
  4. Code munging Inline code expansion Mixed code generation Partial class

    generation Tier generation Full domain language
  5. Code munging Inline code expansion Mixed code generation Partial class

    generation Tier generation Full domain language
  6. Code munging Inline code expansion Mixed code generation Partial class

    generation Tier generation Full domain language
  7. Code munging Inline code expansion Mixed code generation Partial class

    generation Tier generation Full domain language