I really hate the "tab width = 8" though.
Re:Python with Braces
by moonlion_eth on Monday July 08, 2024 @12:34AM
(#40902628)
There are kids out there with tab width 16 you should be grateful
And there’s also people who use tabstops of 3.
You can use a tabstop of 4, or 2, or whatever you want. It's not a problem. Don't need to use 8.
But the formatter will still line-break the code as if the tab width was 8, which will lead to lines with several lines of indentation being too short.
Python... I'd love if it shipped with a formatter that converted indents to braces, and then had an option for expressing indent as spaces (with number of spaces per indent) OR tabs (same, default 1); then still kept the braces.