Should we gather usage statistics about SIP-44 (fewer braces)?

I’ve found significant whitespace impractical for anything beyond trying to squeeze your code into presentation slides, and the default of “braces allowed, whitespace allowed” isn’t a good compromise.

The feature being on by default actively gets into the way of writing code fast, because it introduces ambiguity when there used to be none (whitespace can make or break your compilation, whereas it used to be just the formatter’s problem). That’s just the tip of the iceberg.

If it’s any datapoint, https://makescalacurlyagain.com/ (i know, i know… not my domain choice, but it’s easy to memorize) has 25 stars.

Teams at the company I work for are mostly disabling significant whitespace as well. Those that decided to go for fewer-braces a couple years back, have since made the move back to braces.

Doing a poll would be nice, but it cannot be limited to this forum, and given how strongly people feel about the feature (both ways) I doubt anything can be done at this point.

5 Likes