|
|
|
|
|
by usrusr
778 days ago
|
|
Really, top level functions? I fail to see their impact, outside of getting rid of ceremony around trivial code examples. You missed optional and named arguments in the list, those really change cost/benefit decisions in API design. (and, unfortunately, make argument names part of the public interface, this must be the most controversial part in all of kotlin) I singled out scope functions because all those other things feel very much like the usual set of language differences, whereas scope functions feel completely orthogonal. They could be added to every single language that has excursions and imperative elements, and they would be about the same improvement everywhere. |
|