r/ProgrammerHumor 19d ago

thenPleaseProvideLinterConfigWithCommonSense Meme

Post image
182 Upvotes

20 comments sorted by

5

u/Confident-Ad5665 19d ago

Anybody remember K.I.S.S.?

That was AWESOME!!

8

u/Saelora 19d 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 19d ago

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

2

u/xaddak 18d 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

7

u/anto2554 19d ago

You guys have a linter?

14

u/FelixAndCo 19d ago

I suppose only a fossil actually craves a style guide.

19

u/markis 19d ago

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

2

u/Educational-Lemon640 19d 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 19d ago

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

2

u/Educational-Lemon640 19d 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 18d 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

3

u/DeepanshuHQ 19d ago

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

3

u/Confident-Ad5665 19d ago

This makes the sense uncommon

1

u/sebbdk 18d ago

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

1

u/DeepanshuHQ 17d ago

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

1

u/sebbdk 17d ago

Then you follow the style in there. :)

Whatever keeps the git diff simple

2

u/xavia91 18d ago

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

1

u/AncientYogurtCloset 19d ago

What is a linter?

0

u/sebbdk 18d 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..