- About Scala
- In the Enterprise
- Scala Community
- Language Research
- In the Press
- The Scala Team
- Scala's Prehistory
- Contact Us
- Learning Scala
- Tour of Scala
- Scala API
- Setup & Getting Started
- Programming Guides
- Other Guides
- Code Examples
- Scala Developers
Re: comma inference for argument lists?
On Jan 24, 12:44 pm, Dan Shryock wrote:
> Even though I don't particularly agree with this use case, it has
> always annoyed me that trailing commas on the last element in a list
> aren't allowed in most languages (it was recently removed from scala).
Yes, I've heard of the trailing comma convention in other languages
(Fortran?), but it just doesn't look quite right to me. I think comma
inference is preferable if it can be done without too much trouble.