What's the point of DSLs / fluent interfaces

前端 未结 7 1114
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-02-01 04:11

I was recently watching a webcast about how to create a fluent DSL and I have to admit, I don\'t understand the reasons why one would use such an approach (at least for the give

7条回答
  •  醉梦人生
    2021-02-01 04:34

    You should read Domain Driven Design by Eric Evans to get some idea why is DSL considered good design choice.

    Book is full of good examples, best practice advices and design patterns. Highly recommended.

提交回复
热议问题