r/programminghumor • • Apr 27 '26

The harshest technical documentation I've ever written

If a developer mixes tabs and spaces then that's sloppy and I won't take the blame for it. Ugly results will be their own damn fault and they deserve it.

8 Upvotes

38 comments sorted by

View all comments

Show parent comment

1

u/justaguyonthebus Apr 28 '26

Hmm, are you just doing the language or also the IDE experience.

I could see the value in having one format to rule them all just to keep commits clean, but have a local render that always has all your code in the format you prefer.

Maybe that should be a VSCode plug in. Have it leave the on disk form to the project standards and just auto format the IDE to your preferences....

1

u/mikosullivan Apr 29 '26

U;m taking a simpler approach. I I read your code, I run it through a formatter. When I post it back up, you can format it in your editor.

2

u/justaguyonthebus Apr 29 '26

As long as the code diffs don't show formatting diffs then I don't care. I think I care about that more than what format it actually is.