would anyone know why CAPS are used to specify DSL...
# dsl
d
would anyone know why CAPS are used to specify DSL classes. It’s a convention I’ve seen in a few talks from Jet Brains people
Copy code
@MeetUpDsl
class ATTENDEES : ArrayList<Attendee>() {
    fun person(init: BUILD.() -> Unit) = add(BUILD().apply(init).build())
}