Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Criando sua própria DSL utilizando expressões lambda em Kotlin (Kotlin Everywhere Campinas 2019)

Criando sua própria DSL utilizando expressões lambda em Kotlin (Kotlin Everywhere Campinas 2019)

Bernardo do Amaral Teodosio

August 31, 2019
Tweet

More Decks by Bernardo do Amaral Teodosio

Other Decks in Programming

Transcript

  1. Kotlin/Everywhere Campinas Higher Order Functions java.lang.NoClassDefFoundError: Failed resolution of: Lkotlin/Function23;

    … Caused by: java.lang.ClassNotFoundException: Didn't find class "kotlin.Function23" ¯\_(ツ)_/¯
  2. Kotlin/Everywhere Campinas apply { } "Calls the specified function [block]

    with `this` value as its receiver and returns `this` value."
  3. DSLs Domain-specific languages "A computer language that's targeted to a

    particular kind of problem, rather than a general purpose language that's aimed at any kind of software problem" - Martin Fowler SQL CSS