Re: Multi-assign
- Posted by jeremy (admin) Nov 16, 2011
- 2657 views
mattlewis said...
Does a dollar make sense? Should we use a different symbol? Should we just put extra commas in?
I dislike extra commas. They are hard to read, easy to get wrong and can make you look for hours for bad code. What about a - ?
{ -, last } = parse_name("John Doe")
I know extra commas are used for parameters but I'd like to see that be deprecated and whatever we decide here be used there as well.
Jeremy