because getters and setters are also just a conven...
# getting-started
p
because getters and setters are also just a convention..
e
poohbar: They are a universal convention and a part of JavaBeans standard. There is nothing similar for builders. You'd see it using
withName
or even
setName
. There is simply no universally accepted convention for fluent API builders.
p
You are totally right Roman. So Kevin is correct in that there is not much simplification when using builders in Kotlin apart from dropping the
new
right? Just making sure.
e
Right