Un DSL – langage spécifique à un domaine – est un code Kotlin qui se lit comme un petit langage personnalisé : scripts Gradle, générateurs de tests, arborescences d'interface utilisateur. Vous obtenez cela en combinant des lambdas avec un récepteur, des arguments nommés et parfois @DslMarker afin que des constructeurs non liés ne se mélangent pas par accident.

Qu'est-ce qui fait un DSL à Kotlin
Full content is available with a subscription.
Get full access to all courses on the platform for one year with a single payment.
Unlike other platforms that charge per course, here you get everything for one price, and after one year of use there will be no automatic charge for the following year.