Automatic formatting rules consistently make actual code worse! Casing rules and common indentation are literally all you need
-
-
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
-
-
-
For each consecutive argument in a function I indent 2.5 spaces. Ending braces are indented an amount of spaces equal to the line distance from the start brace - brilliant for visualising the amount of lines in a block.
-
Use a non-breaking space (0xa0) after the words impl, struct, enum and mut
- Još 6 drugih odgovora
Novi razgovor -
-
-
Yeah rigorous formatting rules ignore the fact that formatting can (and should) have semantic value.
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
-
-
-
Enforced code formatting is GARBAGE. I have keratoconus and what works for other people absolutely, 100% does not work for me. I zoom in 200% on every screen, I add spacing between lines, etc. If you enforce stupid layout shit I'm not touching the language.
-
people should be able to customize how it looks to you and stored in whatever format. Some people need really wide tabs and large text as an accessibility thing, but all the software doesn't really do that, so then it chooses spaces.https://twitter.com/mgattozzi/status/1191743202799296512 …
Kraj razgovora
Novi razgovor -
-
-
i think this is the sanest take on that topic.. always love auto formatters moving my 4x4 matrix declarations around..
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
-
Čini se da učitavanje traje već neko vrijeme.
Twitter je možda preopterećen ili ima kratkotrajnih poteškoća u radu. Pokušajte ponovno ili potražite dodatne informacije u odjeljku Status Twittera.