Replies: 1 comment
-
So the final solution will be the following:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
For ELENA 6.0 I'm implementing a multi value support - see #508
I'm thinking about the following possible syntax for this:
or
where & symbol indicates multi-assignment to tell apart from simple multi variable declaration (not yet supported)
Then the method multi-return will look like this
or
The problem with the first syntax that it will be a big ambiguous for nested declaration like
But of course it is possible to provide an extra syntax to unbox tuple. Something like this:
Any ideas and suggestions are welcomed.
P.S. of course always exist the way to support more C# style like
but I really don't like this syntax. In my opinion it is a bit less clear
Beta Was this translation helpful? Give feedback.
All reactions