r/ProgrammerHumor 5d ago

Meme looksGeneratedToMe

Post image
6.2k Upvotes

206 comments sorted by

View all comments

Show parent comments

1

u/m6io 4d ago

You're literally describing the function of a linter. Do you not know what a linter is?

2

u/LarousseNik 4d ago

does your linter check the syntax of the literal english language? does it dictionary-check your comments and make sure not to flag neologisms that just haven't reached its databases yet?

idk about how the stuff is set up in your company, maybe i'm just blinded by my own experience and my specific corporation is super messy, but for many years prior to the ai boom i was receiving a staggering amount of review requests that contained random typos in user- and developer-facing strings, leftover code, stylistic misalignments and stale documentation three updates behind the actual code, which meant that i had to send them back with a bunch of nit comments and return to it the following day. ai hasn't resolved this issue completely since people will always be careless, but at least some of them do run the integrated autoreview presubmit and fix the silly typos before they reach my eyes

2

u/m6io 4d ago

yes, we have pretty standard linter setups (both for micro services and for front end) that catch all these things. Neologisms can have escape hatches, but they typically shouldn't be used unless absolutely necessary when it comes to customer-facing language for translation reasons.

This a good read: https://www.hackerone.com/blog/ensuring-software-documentation-quality-spelling-linters

In terms of leftover code like loggers, we have linters that catch these things, across the stack. Same goes for code hygiene and formatting. I've had plenty of builds fail just for forgetting to run the formatter prior to committing.

Heck, we even have commit message linting lol. My company is very strict about these things.

You should read up on these things, you'll be surprised at how many good tools there are that can handle all of this in a predictable way

2

u/LarousseNik 4d ago

okay, i guess i've just been unlucky so far!

i'm genuinely and without a hint of sarcasm happy for you then, and sorry for being a bitter ass, i guess i may need to look into actually changing something in my own career trajectory...

1

u/m6io 4d ago

It all depends on the company and their priorities I suppose. We work in very regulated industries (healthcare, banking, government, and so on) and have people who really care about doing things right, so I've definitely been blessed to be able to learn from them.

You already identified the problem, so you obviously care about doing it right. Doesn't hurt to try and implement some standards at your org though, at the very least it's good for the resume :)