News for hackers. Stuff that matters.
Re:Formatting code should be unnecessary by swiftcoder on Monday September 08, 2025 @02:31AM (#45165208)
A lot of (relatively) recent languages do have defaults. Go and rust both come with an auto formatter out of the box, and defaults that are sane enough to just run with
Re:Formatting code should be unnecessary by wartijn_ on Monday September 08, 2025 @05:02AM (#45166092)
Ah yeah, in those cases it is possible to just use the defaults. Come to think of it, I have worked with Deno, which comes with a formatter (and linter and testing library) and I’m a fan. Saves a couple of dependencies, some config files and a bit of mental overhead when creating a new project.