3 ms·
some Makefiles use indents or var placement as semantic cues. if a tool rewrites them mechanically, it might clean things while killing meaning. is structural c
by b0a04gl 1y ago
some Makefiles use indents or var placement as semantic cues. if a tool rewrites them mechanically, it might clean things while killing meaning. is structural correctness enough, or do we need formatters that preserve human context too?
- iib 1y agoIdeally, we'd have linters that preserve the human context as well. But human context may be too ambiguous and high variance enough that it can be impractical. It's hard to say what's intent and what not, maybe linters with many custom rules would work best.
- jchw 1y agoThat doesn't sound any different than it is for any other programming language, but many people prefer automatic formatting anyways.