I like that rust is opinionated by default. It reminds me of prettier. I don't have to argue with teams about what code style were using. I can open up any rust project and know it's readable and formatted with the same specification as any other rust project
post
I am surprised that there are not common Rust formatting rules enforced at config level. Every project can have rustfmt rules file, that overwrite defaults.
Well, he does have a point.
I don't see any actual temper lost here.
In one case he points out that someone is making commits that have messed up a file's indentation, and to stop doing that because it's messing things up (they were).
In the other case he points out that rust's default format rules are wrong (in the context of version control readability, they are) and asks someone to fix them.
You mean, "stop using nice and spicy original content made by a popular person, to create high ROI articles"?
In this world when you could have an article when <insert movie-actor/singer name here> sneezes in front of the camera, why would someone not capitalise on someone putting years of past experience and thought into writing an essay?
Yeah he's dead wrong here. Even clang-format - easily the worst autoformatter I've used - is an order of magnitude more tolerable than no auto-formatting.
Sure it might not always be as good as what a perfectionist human would produce, but it's sure as hell better than what the average human produces, and it means you don't have to waste time ranting like this.
all 15 comments