cool-easter-32542
09/20/2023, 8:53 PMcargo deny or cargo audit. While there's certainly flavors and unique styles within these projects, it's fairly easy to go into a project and instantly recognize patterns purely by indentation. Changing this - while still keeping the shape - makes the flow less apparent. This is exacerbated by Pants rust code being exceptionally dense vertically in some places.
Second of all; I'd argue that Pants Rust formatting is weird given that Pants Python code does use 4 spaces, also a standard. It'd have made more sense to harmonize Rust and Python, and thus using 2 spaces for Rust would have made sense if Python already used 2 spaces. Alas, with the current setup the tab-size is different between different components of Pants.
Third and finally, I'd argue that the only good time to change code formatting style was yesterday, with today being a far second. I realize that changing this is a huge amount of churn, and some passing struggles. As Pants keeps growing (in user-count, Rust LOC, contributor-count, ...) the potential cost of changing will keep getting bigger.
pantsbuild/pantscool-easter-32542
10/21/2023, 8:33 PM