2 resultados para Domain-specific programming languages

em Coffee Science - Universidade Federal de Lavras


Relevância:

100.00% 100.00%

Publicador:

Resumo:

Code patterns, including programming patterns and design patterns, are good references for programming language feature improvement and software re-engineering. However, to our knowledge, no existing research has attempted to detect code patterns based on code clone detection technology. In this study, we build upon the previous work and propose to detect and analyze code patterns from a collection of open source projects using NiPAT technology. Because design patterns are most closely associated with object-oriented languages, we choose Java and Python projects to conduct our study. The tool we use for detecting patterns is NiPAT, a pattern detecting tool originally developed for the TXL programming language based on the NiCad clone detector. We extend NiPAT for the Java and Python programming languages. Then, we try to identify all the patterns from the pattern report and classify them into several different categories. In the end of the study, we analyze all the patterns and compare the differences between Java and Python patterns.

Relevância:

100.00% 100.00%

Publicador:

Resumo:

Superior recall of domain-specific patterns is well established as a defining attribute of expert performers. Recent studies on the developmental histories of expert team ball sport players (e.g. Baker, Côté, & Abernethy, 2003a) also suggest that experts characteristically receive exposure to a wide range of sports in their developing years and that this related sports experience may reduce the amount of sport-specific training needed to become an expert. This study examined whether the facilitation of expertise associated with other sport experience might arise from positive transfer of pattern recall skills from one sport to another. Expert netball, basketball and field hockey players and experienced non-experts performed a recall task for patterns of play derived from each of these sports. Experts from sports different to those shown in the presented pattern consistently outperformed non-experts in their recall of defensive player positions, suggesting some selective transfer of pattern recall skills may indeed be possible