Join Slack
Powered by
because getters and setters are also just a conven...
# getting-started
p
poohbar
05/10/2017, 7:37 PM
because getters and setters are also just a convention..
e
elizarov
05/10/2017, 7:42 PM
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
poohbar
05/10/2017, 7:43 PM
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
elizarov
05/10/2017, 7:56 PM
Right
2
Views
Open in Slack
Previous
Next