Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

builder() .... build() Rich Hickey got something right. This is about as far from the idea behind DOP as it gets.


That's on Java, though. Many other languages such as Kotlin, Swift, etc. have better ways of dealing with this, e.g. in Kotlin

  Car(make = "Buick", model = "LeSabre")




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: