this post was submitted on 24 Oct 2023
866 points (93.0% liked)

Programmer Humor

19551 readers
1056 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 5 points 1 year ago (1 children)

I write a lot of bash and I still have to check syntax every day, but the answer to that is not chatGPT but a proper linter like shell check that you can trust because it's based on a rigid set of rules, not the black box of a LLM.

I can understand the syntax justification for obscure languages that don't have a well written linter, but if anything that gives me less confidence about CHATGPT because it's training material for an obscure language is likely smaller.

[โ€“] [email protected] 1 points 1 year ago

Less checking syntax and more like "what was this function name again ?"
"Which library has that ?"
"Do I need to instance this or is it static ?"
All of theses can be answered by documentation, but who want to read the docs when you can ask chatgpt. (Copilot is better in my experience btw)