What do we want? Variadics! When do we want it? At some point in the future, but always prioritizing careful design and coherence with the rest of the language!
-
Show this thread
-
For JS folks reading this: variadics are the compiled equivalent to JS' `arguments`. This allows passing in multiple arguments to a function, rather than having to define functions such as join_1(), join_2(), join_3(). Etc. Macros are a workaround, but variadics solve it better
2 replies 0 retweets 5 likesShow this thread -
Replying to @yoshuawuyts
Are they more like `arguments` or ...rest props?
1 reply 0 retweets 0 likes
Replying to @arilotter
Either, neither. Both of those provide the same functionality at it's core, and semantics haven't been decided yet, so it's too soon to tell what it might look like.
11:25 PM - 22 Nov 2018
0 replies
0 retweets
1 like
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.