News for hackers. Stuff that matters.
Re:In Praise of Stacked PRs by kqr on Sunday July 24, 2022 @02:12PM (#32216072)
This is something I've come to realise as I've matured as a developer. I just don't care what style you write in, if you don't use all the syntactic sugar, etc. I care where you draw your module boundaries, which units depend on which, and if you've handled edge cases, and so on. That's what's going to matter in the end. That's where I'll have to spend a lot of time figuring stuff out. Not syntax.
Re:In Praise of Stacked PRs by dcow on Sunday July 24, 2022 @06:10PM (#32218275)
Exactly. I’ve seen style-perfect lint-free “write once” spaghetti code that drops edge cases and error conditions left and right, and I’ve seen “ugly” but clean code that needs no introduction and works perfectly to boot. I worry that auto-formatters (not to discredit their upsides) do sometimes give people a false sense that they’re writing good code.
Re:In Praise of Stacked PRs by Aeolun on Sunday July 24, 2022 @09:29PM (#32219615)
I don’t care about styling, and that is exactly why I use (and enforce use of) an autoformatter.
Re:In Praise of Stacked PRs by shepherdjerred on Monday July 25, 2022 @03:03PM (#32229353)
I use auto-formatters so that I don't have to deal with coworkers telling me to add a new line or that I put too many/few levels of indentation.

Formatters do nothing for code quality. Linters can help quality but it's more of a last line of defense for common errors, not a signal that your code is 'good'.