News for hackers. Stuff that matters.
Re:Finally, a Makefile formatter (50 years overdue) by viraptor on Sunday June 22, 2025 @08:10AM (#44346217)
It definitely is a problem when the tool you're going to use a few times a week takes an extra hundred milliseconds compared to a native solution. Especially when you need to process huge data files like hand crafted makefiles. I can totally feel your pain - extra effort would've been made to avoid that at the cost of development speed. /s
Re:Finally, a Makefile formatter (50 years overdue) by justinrubek on Sunday June 22, 2025 @10:09AM (#44347090)
I find that writing anything substantially complex in python sacrifices the development speed. That isn't its strong suit. It's that a lot of people want to write their code in it by preference.
Re:Finally, a Makefile formatter (50 years overdue) by IshKebab on Sunday June 22, 2025 @10:32AM (#44347248)
Yeah if only it was an extra 100 milliseconds a few times a week. We have yamllint (also written in Python) in our pre-commit (also written in Python) and it definitely adds a second or two.

Also format-on-save is a common workflow.