this post was submitted on 29 Mar 2024
15 points (100.0% liked)

Programmer Humor

32481 readers
283 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
all 17 comments
sorted by: hot top controversial new old
[โ€“] [email protected] 3 points 7 months ago (3 children)

I get the joke.

But if, like me, you actually feel this here's how I got away from it: make sure you actually understand things.

Read the error message over and over again, look up the words, understand what it is saying.

If something isn't working, start reading the code and making sure you understand what each line is doing.

It will feel incredibly slow and painful at first. Eventually you will strengthen those.muscles, however, and it'll become second nature.

Then you can cut and paste with confidence! ๐Ÿคฃ

[โ€“] [email protected] 1 points 7 months ago (1 children)

Additionally, don't copy and paste anything until you understand it. If you don't understand what code golf is being spewed, don't take the top answer. If you don't understand any answer, you probably don't understand the underlying systems well enough and need to re-evaluate what your asking for.

[โ€“] [email protected] 1 points 7 months ago

The only difference between a novice and a professional is that a professional checks what they are copying to understand it first before allowing it into their codebase.

Novices copy code to avoid having to understand it. Professionals copy code to avoid reinventing the wheel.

[โ€“] [email protected] 1 points 7 months ago (1 children)

ChatGPT is making me better because I've learned not to fucking trust it and double check everything it spits out to ensure its actually doing what's asked of it.

[โ€“] [email protected] 1 points 7 months ago

I use it to help me lay out pseudo code and check it against what I come up with. It has made the way I structure things (and comment on things) way better.

[โ€“] [email protected] 1 points 7 months ago (1 children)

PC load letter? What the fuck does that mean?

[โ€“] [email protected] 1 points 7 months ago (1 children)

There are still some errors where you just need to know the fix. In that case it's a baseball bat.

[โ€“] [email protected] 1 points 7 months ago (1 children)

Or just filling the paper tray (that's what the error means)

[โ€“] [email protected] 1 points 7 months ago

Filling the paper tray with US Letter sized paper. If you aren't in the US, you don't use it and might not even be able to buy any.

[โ€“] [email protected] 1 points 7 months ago (1 children)

I feel like most of my googling of simple code is because I know what I'm trying to do, but I don't remember the correct function name and or language structure for the language I'm currently using.

[โ€“] [email protected] 1 points 7 months ago

This is about 50% of what I use ChatGPT for. Something I've done many times before, but I just need a quick reminder about the exact syntax.

The other 50% is just creating DTOs that have properties that are suitable for parsing JSON or XML or can be used to dump data from SQL into. The boring shit.

[โ€“] [email protected] 0 points 7 months ago (1 children)

Get a pro GPT subscription and command it to copy paste for you of course

[โ€“] [email protected] 0 points 7 months ago* (last edited 7 months ago) (1 children)

I may do that already when I get stuck... Tbf I am trying to learn and only ask it to explain how to do something or if I have a bug I can't figure out. I feel sometimes it's just best to get an answer if I've been stuck for a while because I'm not making progress anyway.

[โ€“] [email protected] 0 points 7 months ago (1 children)

It's not too bad for learning a new language, but you still have to make an effort to understand why the code it's giving you works... or doesn't work which can happen often.

[โ€“] [email protected] 0 points 7 months ago (1 children)

It's so great at getting unstuck and learning news ways of doing thing that everyone knows but me. Even if most of its actual code is borked.

[โ€“] [email protected] -1 points 7 months ago

Yeah today after getting three bad answers in a row from ChatGPT I was quoting Thanos... "Fine. I'll do it myself."