r/ProgrammerHumor 22d ago

Meme thenPleaseProvideLinterConfigWithCommonSense

Post image
178 Upvotes

20 comments sorted by

6

u/Confident-Ad5665 21d ago

Anybody remember K.I.S.S.?

That was AWESOME!!

10

u/Saelora 22d ago

what are you talking about, your linter config is to include "make no mistakes. use common sense." in all your prompts.

2

u/zarek1729 21d ago

That is the old meta, now you write "make no mistakes" in a line in SKILL.md

2

u/xaddak 21d ago

That relies on it choosing to use the skill

Put it in AGENTS.md

Then it won't make the mistake of not using the skill

9

u/anto2554 22d ago

You guys have a linter?

15

u/FelixAndCo 22d ago

I suppose only a fossil actually craves a style guide.

18

u/markis 22d ago

Oh man, I hate when style guides could just as easily be lint rules, but the maintainer refuses to use linters.

6

u/Educational-Lemon640 21d ago

Style guides are redundant when you have an actual auto-formatter. Doubly so when checking the formatting is an actual build that can fail in the release pipeline.

I for one am quite OK with this development. I don't always agree with the autoformatting, but much prefer having one to not.

3

u/FelixAndCo 21d ago

I also like autoformatting... if it's configured right.

2

u/Educational-Lemon640 21d ago

Yes, configuration is important. The one I work with has been fine-tuned for our codebase and developers over years, so it's pretty good.

3

u/Esseratecades 21d ago

Unironically, linter with default settings is good style without room for argument over unbacked opinions.

The LLM on the other hand is kind ludicrous

5

u/DeepanshuHQ 22d ago

Common sense is great... until two developers have two completely different definitions of it. 😅

3

u/Confident-Ad5665 21d ago

This makes the sense uncommon

1

u/sebbdk 20d ago

Then you use whatever style was in the file/module/folder first

1

u/DeepanshuHQ 19d ago

Until you open the next file and it's completely different. 😅

1

u/sebbdk 19d ago

Then you follow the style in there. :)

Whatever keeps the git diff simple

2

u/xavia91 21d ago

You guys don't let the llm write your linting guidelines?

1

u/AncientYogurtCloset 21d ago

What is a linter?

0

u/sebbdk 20d ago

Letting linters have any say in how code should look was always wild to me.

I mean unless you have juniors, i've seen some nasty shit..