Skip to content

Design Pattern Automation with Gael Fraiteur

Photo of
Hosted By
Mark P. and 3 others



Design patterns are now universally accepted and significantly improved the way we design software. However, they had relatively little impact on how we implement it. Except rare exception like the ‘using’ or ‘lock’ keywords, most patterns must still be implemented by hand, resulting in large quantities of boilerplate code that must be validated by peer review. However, smarter compilers and development tools could do a better job by automatically implementing part of the pattern and automatically validating the other part that has been implemented manually. This talk advocates for a better integration of pattern thinking in the whole development cycle. It discusses how design pattern automation is possible today in .NET using PostSharp, FxCop, and Nemerle.


  • Patterns in architecture and methodology
  • The feedback loop: ex-post patterns and refactoring
  • Well-written patterns can be partially automated
  • Disposable Object: a pattern with framework/compiler support
  • Observable Object: a ready-made implementation with PostSharp
  • Validating pattern implementation using FxCop
  • Metaprogramming: dynamic languages, scala macros, Nemerle

About the Speaker

Gael Fraiteur has been passionately programming since childhood; building and selling his first commercial software at age 12. He is Founder and Principal Engineer at PostSharp Technologies based in Prague, Czech Republic. Gael is a widely recognized expert in aspect-oriented programming and speaks at developer conferences in Europe and the United States.

This meeting will be held at the Microsoft offices as usual. Check the Meetup site for details!

1290 Avenue of the Americas, 6th Floor · New York, NY