3 ms·
Any language with tuples automatically gets "anonymous" multiple return values. (e.g. Python's `(1, "foo", None)`.) (Go's multiple return values seem to just b
by dbaupp 13y ago
Any language with tuples automatically gets "anonymous" multiple return values. (e.g. Python's `(1, "foo", None)`.)
(Go's multiple return values seem to just be simulating a single use case of proper tuples.)
- gutsy 13y agoWell, all I've written since college has been Java, so this is all new to me. I've only briefly checked out Ruby and Python, and not enough to really know that much about either language.