mvysny / karibu-dsl

Kotlin Vaadin extensions and DSL
http://www.vaadinonkotlin.eu
MIT License
123 stars 16 forks source link

Rename isPadding and isSpacing to just padding and spacing #63

Closed mvysny closed 1 year ago

mvysny commented 1 year ago

Kotlin naming convention seems to be not to use the "is" prefix in parameter arguments, e.g.

Or

public expect fun ByteArray.decodeToString(
    startIndex: Int = 0,
    endIndex: Int = this.size,
    throwOnInvalidSequence: Boolean = false
): String

Do this for verticalLayout{} and horizontalLayout{} and revisit all DSL functions as well.