Greg Milette (@gregmilette) profile picture

Android, IoT, Speech recognition, DSLs, and Kotlin galore

Boston, MA
Joined February 2011
Photo by Greg Milette (@gregmilette)Photo by Greg Milette (@gregmilette)Photo by Greg Milette (@gregmilette)
Here is an example of a DSL that uses context receivers to define lambda arguments. github.com/gmilette/taskdsl/…
24
I published a new Pluralsight course: Building DSL in Kotlin! Includes everything you need to know to make DSLs and even explores the new context receivers feature of Kotlin. app.pluralsight.com/library/…
31
Love that Jetpack Navigation supports a DSL. I look forward to days with less xml and more dsl developer.android.com/guide/…
Two quick Kotlin specific JUnit snippets: assertThrows<ArithmeticException> { calculator.divide(4.0, 0.0) } assertAll("", { assertEquals(2.0, calculator.divide(4.0, 2.0)) } ) Works with the right imports!
I find this very satisfying to know. Desktop development is improved with Kotlin using tornadofx.io/ #kotlineverywhere
1
(tornadofx also has a DSL in it)
A dozen techniques for everyday DSLs by @gregmilette #DroidconBos
we're thrilled to welcome @gregmilette as a #DroidconBos speaker! Excited to see you all there!! #SpeakerSpotlight 🎉 #AndroidDev #AndroidGala #Boston ~~ 📅 Agenda: buff.ly/2ug9ixe 🎟 Tickets: buff.ly/2S309Th
1
2
9
I'm speaking at @droidconbos droidcon-boston.com/agenda/ My talk explores how Kotlin DSL techniques can be used in everyday code.
1
3
My new course about implementing Domain Specific Language in Kotlin is now available on Pluralsight: pluralsight.com/courses/kotl…
1
4
2
9
Basement installation of my new home git repo. Secure filesystem and securely hidden in a basement. Thanks @gitstorage and #DroidconBos
1
4