Improving Software Languages: usage patterns to the rescue
-
Upload
jordi-cabot -
Category
Software
-
view
385 -
download
1
Transcript of Improving Software Languages: usage patterns to the rescue
http://pixgood.com/mr-hyde-sketch.html
source: http://blog.codinghorror.com/head-first-design-patterns/
A very popular research topic
4.930.000 results in Google Scholar when searching for papers on design patternsI’m guilty myself!!!
1.Measuring WordPress
Flickr/ SeanMacEntee
2.The problem with patterns
2.Top down vs bottom up patterns
Imagine a Language
is like a cheese
Flickr/ RobertDavies
Let’s see what bottom-up patterns
can do for your cheese
Extracting patterns : Corpus-based analysis of languages
Tells you what elements of a language are used in
practice, how those elements are typically combined together and
possible clusters Robert Tairas, Jordi Cabot:Corpus-based analysis of domain-specific languages. Software and System Modeling 14(2): 889-904 (2015)
You’re not as good as you think: Let patterns take over the design of your GL / DSL
Current Language Version
Let people use it
Uncover usage patterns
Propose modifications
* Keeping a trace of all language changes (and discussion) is also a good idea. Use Collaboro for that https://github.com/SOM-Research/collaboro
Pattern-basedLanguageDefinitionProcess
In a distant future: Conceptual Modeling Assistant
To automate the evolution of the
language
-To recomnend people how to use it
-(call them refactorings, but always based on dynamic usage
patterns)
List of credits for the images◎ Sad drain: https://www.flickr.com/photos/yewenyi/343846954/
◎ Canadian geese: https://www.flickr.com/photos/bobcatnorth/
◎ Punch : https://www.flickr.com/photos/timcaynes/
◎ Cheese: http://www.gianteagle.com/Grocery-Store/Cheese-Shop/
◎ Asimo: https://en.wikipedia.org/wiki/ASIMO