New answers tagged


This isn't really specific to Scala DSLs. You have the same problem with the traditional Builder pattern, when you want a builder that needs to be given certain things. Instead of execution order it is then a dependency. For example, you want a builder that can build either ProductA or ProductB, but when you choose ProductA you must specify a delivery ...

Top 50 recent answers are included