DEV Community

Discussion on: Help design a language: What about tuples without commas?

Collapse
 
mortoray profile image
edA‑qa mort‑ora‑y

The commas would be optional on line end. All of the syntaxes you provided here would be acceptable.

Though I'd argue that mixing within a single tuple is perhaps not good practice -- I wouldn't go out of my way to forbid it though.