SE-0257: Eliding commas from multiline expression lists

-1. As many others have also stated, I have never encountered a case where I needed to add a semicolon, but there will definitely be cases where I have to add a comma.

I do not buy the EDSL argument, quote:

The situation with definition of the table in the EDSL is the same. The commas are providing information to nothing and nobody. They are ceremony for its own sake. Moreover, they are a constant visual reminder that you are looking at a list of arguments being passed to a function rather than a list of declarations in the EDSL.

If something is a Swift function call and is executed like a Swift function call, then I want it to look like a Swift function call. A EDSL should not try to rely on obscure syntax features (and IMHO not use weird custom operators either), but instead provide domain-specific types and functions that allow programmers to work at a higher level of abstraction in that domain.

1 Like