happy-kitchen-89482
02/09/2023, 4:58 PMfix
vs fmt
. Can someone remind me what's up with that?enough-analyst-54434
02/09/2023, 5:06 PMfmt
is a subset of fix
but either fmt
was deemed important enough to keep (don't break people) or there were a mix of solid consistent formatters out there but not so more general fixers? I know cargo clippy --fix
is solid but I can imagine yolo fixers out there, especially in Python.bitter-ability-32190
02/09/2023, 5:08 PM--loop
. Not safe to loop on fix, but safe to loop on fmtenough-analyst-54434
02/09/2023, 5:08 PMbitter-ability-32190
02/09/2023, 5:09 PMpants lint --fix
which was voted downenough-analyst-54434
02/09/2023, 5:10 PMbitter-ability-32190
02/09/2023, 5:12 PMenough-analyst-54434
02/09/2023, 5:12 PMhappy-kitchen-89482
02/09/2023, 5:12 PMenough-analyst-54434
02/09/2023, 5:13 PMhappy-kitchen-89482
02/09/2023, 5:13 PMfmt
and `fix`for completeness?bitter-ability-32190
02/09/2023, 5:13 PMhappy-kitchen-89482
02/09/2023, 5:13 PMenough-analyst-54434
02/09/2023, 5:14 PMhappy-kitchen-89482
02/09/2023, 5:14 PMfix
enough-analyst-54434
02/09/2023, 5:14 PMhappy-kitchen-89482
02/09/2023, 5:14 PMfix
into the slot previously held by fmt
, it's all good. If I have to remember both, I will forget how to tie my shoelaces or something.enough-analyst-54434
02/09/2023, 5:15 PMfmt fix
and then when that errors, you subtract fix
since fix did not always exist.