loading...

re: Creating DSL-like API's in Java (and fixing Builder pattern) VIEW POST

FULL DISCUSSION
 

I like the idea and I've implemented it once, but I find it can get really complex fast.

 

Any DSL requires a lot of thinking. Described approach significantly simplifies building DSL's. And for particular case of replacement of plain Builder it's extremely simple, just some extra boilerplate code.

code of conduct - report abuse