this post was submitted on 26 Feb 2025
697 points (98.1% liked)

Programmer Humor

20829 readers
1742 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 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 5 points 2 days ago (3 children)

It depends. AI can help writing good code. Or it can write bad code. It depends on the developer's goals.

[–] [email protected] 1 points 1 day ago (1 children)

It depends. AI can help writing good code. Or it can write bad code

I'll give you a hypothetical: a company is to hire someone for coding. They can either hire someone who writes clean code for $20/h, or someone who writes dirty but functioning code using AI for $10/h. What will many companies do?

[–] [email protected] 2 points 1 day ago

Many companies chose cheap coders over good coders, even without AI. Companies I heard of have pretty bad code bases, and they don't use AI for software development. Even my company preferred cheap coders and fast development, and the code base from that time is terrible, because our management didn't know what good code is and why it's important. For such companies, AI can make development even faster, and I doubt code quality will suffer.

[–] [email protected] 3 points 1 day ago

My goal is to write bad code

[–] [email protected] 6 points 1 day ago* (last edited 1 day ago) (1 children)

LLMs can be great for translating pseudo code into real code or creating boiler plate or automating tedious stuff, but ChatGPT is terrible at actual software engineering.

[–] [email protected] 2 points 1 day ago

Honestly I just use it for the boilerplate crap.

Fill in that yaml config, write those lua bindings that are just a sequence of lua_pushinteger(L, 1), write the params of my do string kind of stuff.

Saves me a ton of time to think about the actual structure.