https://kotlinlang.org logo
Title
h

Hullaballoonatic

08/31/2018, 4:10 PM
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”
k

karelpeeters

08/31/2018, 4:13 PM
python but it's faked with tuples.
h

Hullaballoonatic

08/31/2018, 4:13 PM
javascript
javascript
really? wow, never knew that
c

cygnus

09/01/2018, 1:50 AM
julia has them too