Episode 119: DSLs in Practice with JP Tolvanen

Topics covered
Popular Clips
Episode Highlights
Generator Optimization
Optimizing code generators involves addressing complexity through modularization and refactoring. highlights that structuring generators by domain concepts and refactoring them for commonalities can simplify the process, even though it may initially seem challenging 1. He suggests starting with easy cases to demonstrate immediate benefits, which can help convince management and colleagues of the value of code generation 2.
Once you convince management, when you convince your colleagues who don't believe that you can generate code, or you can convince your managers that they see, wow, this gave a good return of investment. Let's use this more so easy case first.
---
This approach not only enhances productivity but also encourages the adoption of domain-specific languages.
Model Transformations
Model transformations play a crucial role in simplifying code generation by raising the level of abstraction. explains that adding rules to the modeling language can reduce the size of the code generator, making the process more efficient 3. While acknowledges the usefulness of model transformations, he emphasizes integration at the modeling time to ease refactoring and model management 4.
In our situation, if you see that something is changing in the data model, you can see maybe already that this is shared by somewhere else.
---
This method allows for better handling of changes and ensures that models remain consistent and manageable.
Related Episodes


Episode 182: Domain-Specific Languages with Martin Fowler and Rebecca Parsons
Answers 383 questions

Episode 52: DSL Development in Ruby
Answers 383 questions

Episode 200: Markus Völter on Language Design and Domain Specific Languages
Answers 383 questions

Episode 126: Jetbrains MPS with Konstantin Solomatov
Answers 383 questions

Episode 57: Compile-Time Metaprogramming
Answers 383 questions

Episode 140: Newspeak and Pluggable Types with Gilad Bracha
Answers 383 questions

Episode 86: Interview Dave Thomas
Answers 383 questions

Episode 28: Type Systems
Answers 383 questions

Episode 155: Johannes Link & Lasse Koskela on TDD
Answers 383 questions
Episode 173: Feature-Oriented Software Development with Sven Apel – Pt 2
Answers 383 questions

Episode 36: Interview Guy Steele
Answers 383 questions

Episode 171: Scala Update with Martin Odersky
Answers 383 questions

Episode 6: Model-Driven Software Development Pt. 2
Answers 383 questions

Episode 5: Model-Driven Software Development Pt. 1
Answers 383 questions

Episode 120: OCL with Anneke Kleppe
Answers 383 questions













