4 ms·
Personally I would rather it require trailing commas like Go does, any optional syntax is a step backwards IMHO
by wesleytodd 10y ago
Personally I would rather it require trailing commas like Go does, any optional syntax is a step backwards IMHO
- ambrop7 10y agoThe best way is to require one comma between elements but allow one trailing comma after the last element. This way you can both do multi-line and one-line lists nicely.