Home
Research
Emerging Technologies
Pattern By Example
Research
Emerging Technologies
Pattern By Example
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.
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.
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.