object orientation and pattern matching are often seen as conflicting approaches to program design. object-oriented programs place type-dependent behavior inside objects and invoke it via dynamic dispatch, while patte...
详细信息
ISBN:
(纸本)9781450315647
object orientation and pattern matching are often seen as conflicting approaches to program design. object-oriented programs place type-dependent behavior inside objects and invoke it via dynamic dispatch, while pattern-matching programs place type-dependent behavior outside data structures and invoke it via multiway conditionals (case statements). Grace is a new, dynamic, object-oriented language designed to support teaching: to this end, Grace needs to support both styles. We explain how this conflict can be resolved gracefully: by modelling patterns and cases as partial functions, reifying those functions as objects, and then building up complex patterns from simpler ones using pattern combinators. We describe the implementation of this design as an objectoriented framework, and a case study of its effectiveness.
This paper deals with the feedback given to teachers in order they better manage their activities. We support teachers' activities, especially their interventions effectiveness, by giving them feedback about the e...
详细信息
As software evolves, data types have to be extended, possibly with new data variants or new operations. object-oriented design is well-known to support data extensions well. In fact, most popular books showcase data e...
详细信息
Xtext is an open-source framework for implementing external, textual domain-specific languages (DSLs). So far, most DSLs implemented with Xtext and similar tools focus on structural aspects such as service specificati...
详细信息
ISBN:
(纸本)9781450311298
Xtext is an open-source framework for implementing external, textual domain-specific languages (DSLs). So far, most DSLs implemented with Xtext and similar tools focus on structural aspects such as service specifications and entities. Because behavioral aspects are significantly more complicated to implement, they are often delegated to generalpurpose programming languages. This approach introduces complex integration patterns and the DSL's high level of abstraction is compromised. We present Xbase as part of Xtext, an expression language that can be reused via language inheritance in any DSL implementation based on Xtext. Xbase expressions provide both control structures and program expressions in a uniform way. Xbase is statically typed and tightly integrated with the Java type system. Languages extending Xbase inherit the syntax of a Java-like expression language as well as language infrastructure components, including a parser, an unparser, a linker, a compiler and an interpreter. Furthermore, the framework provides integration into the Eclipse IDE including debug and refactoring support. The application of Xbase is presented by means of a domain model language which serves as a tutorial example and by the implementation of the programming language Xtend. Xtend is a functional and object-oriented general purpose language for the Java Virtual Machine (JVM). It is built on top of Xbase which is the reusable expression language that is the foundation of Xtend. Copyright 2012 ACM.
Preliminary design of composite laminate structures (CLS) involves a set of calculations starting from micromechanics, macromechanics, and structural analysis such as beam theory. The design variables for CLS include ...
详细信息
ISBN:
(纸本)9781934551127
Preliminary design of composite laminate structures (CLS) involves a set of calculations starting from micromechanics, macromechanics, and structural analysis such as beam theory. The design variables for CLS include fiber and matrix properties, fiber volume fraction, stacking sequence, section geometry, and so on. When one of these variables is changed during the design process, all the calculations to model the CLS have to be redone. This paper discusses the use of object oriented programming (OOP) and relational databases (RDB) to mimic the design process of CLS and its elements, including laminate, lamina, and fiber. This approach ensures consistency of data and property values calculated at different design stages by enforcing known relations between the different objects in the CLS. The ultimate objective is to create a software application allowing the designer to optimize the composite without the burden of repeating calculations. The application, ***, attains maximum user convenience and real time deployment of software updates.
This work presents the virtual bilateral interaction between Man-Machine through the Kinect sensor, allowing the user to control and monitor Windows programs by gestures without the need of using peripheral components...
详细信息
The concept of type in computer science is intimately bound with the effort to create safe and expressive languages with which to write programs. We consider types from a programmer's point of view, focusing on ho...
详细信息
ISBN:
(纸本)9781908187178
The concept of type in computer science is intimately bound with the effort to create safe and expressive languages with which to write programs. We consider types from a programmer's point of view, focusing on how they aid a programmer's mental model of computation in a chosen domain. We also discuss how type systems offered by class-based object-orientedprogramming languages account for much of modern software success by facilitating code reuse.
ECNO (Event Coordination Notation) is a notation for modelling the behaviour of a software system on top of some object-oriented data model. ECNO has two main objectives: On the one hand, ECNO should allow modelling t...
详细信息
High-performance scientific applications are usually built from software modules written in multiple programming languages. This raises the issue of language interoperability which involves making calls between langua...
详细信息
Design Principles are standards used to organize and arrange the structural components of Software Engineering design. Methods in which these design principles are applied affect the expressive content and the working...
详细信息
暂无评论