Deutsch (DE-CH-AT)English (EN)Francais (Fr)

Pattern By Example: Generative Programming with Adaptive Patterns

One of the most frequently used programming techniques is to copy and adapt the code from existing samples. On the one hand this approach is error-prone, on the  other hand it has proven benefits: It targets the reuse on the level of code fragments. The "Pattern By Example" principle (PBE) consists in formalising and automating this intuitive "copy and adapt" working-method by an appropriate tool. Proven solutions are stepwise transferred into automatically reusable patterns and could be further-developed in a step-by-step manner as well.

Besides the definition of variable elements, PBE offers the possibility to specify relations between code fragments: Dependencies from embedded variable elements, common conditions for several, even not contiguous code fragments as well as selections and iterations concerning whole code sections could be declared. This way a pattern can be adapted for very different contexts. These patterns are profoundly parametrised; they are the building blocks for an appropriate code generator.

HyperSenses: PBE as Method, Models as Foundation

Originally the PBE principle has been implemented as a same-named concept tool. This is not provided by us any more, because in between the PBE method has been coupled with a model-based technique that facilitates parametrising and structuring of the patterns significantly: HyperSenses.

Any Questions? Please Contact Us!

You have questions concerning HyperSenses or the PBE method? You want to know more about how you could make your development more efficient by using code generators?

Or do you want to put your proven solutions as well as interesting new ideas into reusable patterns, and to apply these patterns automatically and reproducibly?

Then you are invited to get in contact with us here. We are looking forward to your request.

Related Infos

Newsletter

Quotes

„"Working with the people from Delta proved to be a very good choice. They delivered when other companies couldn't. From RDW's point of view Delta is a highly dedicated company with an even higher level of expertise."
Gerard Doll, Director ICT, RDW, The Nederlands

RDW Case Study

Bookmark and Share