27 ms·
Linus Torvalds Vents over "Completely Crazy Rust Format Checking"
- lordkrandel 1y agoDo we have to make a fuss everytime Linus makes a decision about the project he manages? What is the purpose of this piece? A flame war about rust indentation?
- arcfour 1y agoI don't have time to monitor the LKML but I do enjoy the occasional Linus rant about something. Sometimes I learn something, or sometimes I get a new perspective in some way from what he's complaining about. And, of course, it's often just funny.
- lordkrandel 1y agoxD Nice take.
- fjfaase 1y agoThe other day, I read that reviewing code takes double the effort of writing code. What Linus mostly does is merging code and resolving conflicts, which also requires him to read (review) the code. The formating of code has a significant impact on where merges introduce conflicts or not. Also formating has an influence on the readability of the code. Linus remarks that in his editor the indentation looks corrupted. I suspect that this is due to a diff erent tab size. Tab sizes of 2, 4, and 8 are commonly used. It looks like Linux is making a joke before he deals with the real issues. One should realize that humor is cultural depended and that something that is considered a joke in one culture is considered rude in another and the reverse. In some cultures, humor is very subtile, such that outsiders often do not notice that they are made fun of, whilebin other cultures the use of swearwords is used in daily language without it meaning anything special.
- skylurk 1y agoBlack/Ruff (python) had this issue too, and I like how they resolved it now by respecting the trailing comma.