3 ms·
From now on, if the arguments of a method call are to be splitted across multiple lines, the comma must be at the end of the line, before the line break. Out o
by nerdponx 8y ago
From now on, if the arguments of a method call are to be splitted across multiple lines, the comma must be at the end of the line, before the line break.
Out of curiosity, what's the purpose of this change? Style enforcement? Simpler parser?
- RX14 8y agoSimpler code. This style of code was accepted by the parser but not the automated code formatter. We decided it was easier to disallow it, as the style was uncommon (especially so as ruby doesn't accept that style either, and a lot of crystal's style guidelines are based off ruby's)