is it a deliberate choice by the devs to not including multiple return values (unless i missed it)? it's not hindering me at all, i'm just wondering. it feels like with all the features kotlin provides for parameters and constructors that they'd play well with multiple return values.
n
nfrankel
08/31/2018, 4:13 PM
apart from go
i don’t know any language allowing multiple return values
(but i don’t know that many languages anyway)
in the case of go
i believe it’s only to allow “exceptions”