Multiple Value Return - Common Lisp vs. Tuples and destructuring
I'm most familiar with the Common Lisp style implementation of the multiple-value-return feature.
But I notice that several other languages, including Python, use tuple return values and do destructuring on these tuples.
What are the advantages/disadvantages to each? Semantically? Implementation and performance?
Are there other (better) models of multiple-value-return that I should study?
Active forum topics
New forum topics