Kotlin Domain-Specific Language (DSL)
摘要
Domain-specific languages are in contrast to the general-purpose languages—for example, Java or Kotlin—which can be used to develop an application and can be written in multiple parts of an application. DSL is more concise and readable, as it mostly reads like an English statement. An example of DSL is the SQL language, which is readable and expressive rather than another general-purpose language.