SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 166 | Next

Steven Kelly and Juha-Pekka Tolvanen

"Domain-Specific Modeling"


A typical case is removing or replacing spaces from values given in models that are
used as variable names in the generated code. The string ???ConferenceRegistration???
could then have been entered in the model with a space between the words. Also, if the
generated programming language uses some speci?¬?c conventions for naming
variables, classes, operations, and so on, the generator can use translations for them,
like starting names with a capital letter.
4.4.2 Quality of Generated Code
Varied opinions exist concerning what kinds of code one can generate and with what
level of quality. For example, automation to produce static declarative de?¬?nitions
from common designs such as interfaces or database schemas has been a reality for
many years, so multiple off-the-shelf generators are available. However, the situation
is different when it comes to generating behavioral, functional code. Consider the use
of UML in the phone example in Chapter 1. It required extensive and detailed UML
models to specify the behavioral side??”yet still not adequate in detail for code
generation. In DSM, the code generation can tackle both the static code and the
behavioural, functional code. Since static structures such as schemas, interfaces, and
declarations are usually easier to generate, we focus in this book mostly on generating
behavioral and functional code.


Pages:
154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178
hotel jelenia góra Russian bride Free English grammar and study guid powiekszenia wielkoformatowe counter strike 1.6