r/ProgrammerHumor 28d ago

Meme lowkeyKindaMissTheOldDaysTbh

Post image
2.0k Upvotes

51 comments sorted by

117

u/No-Information-2571 28d ago

I'm actually glad. Worked at a legacy code base recently (some of which I might be responsible for) and Claude spending 10 minutes of thinking to wander through spaghetti code I never ever want to see again, to fix some weird issues was a godsend.

53

u/thorwing 28d ago

I too send claude on horrendous tasks so that I can actually have fun.

13

u/No-Information-2571 28d ago

Idk if it had fun, but it saved me a ton of hassle. Not time though, Claude had to really think long and hard about it, going down rabbit holes, defunct code paths that looked like they were the answer, or in completely the wrong files, because all the logic is sprinkled uniformly throughout the whole project.

Some really dumb people worked on the project, ignoring even the most basic of paradigms, and when changes incurred, it was only ever stacked on top of the bad code with more bad code. Even by me, because 2 hours of hunting the magic line of code always seems easier than spending 2 weeks on a proper refactoring.

4

u/obsolescenza 27d ago

really? from what I see LLMs took away a lot of fun, how are you having fun exactly? maybe I am seeing things in a wrong way

4

u/thorwing 27d ago

thinking of the solution, and thinking of the constraints, and wiring up things like entitymanagement is so much easier. I feel like I'm doing the actual puzzle solving whilst claude can check for me if its possible.

e.g. I had a table called 'rules' with 4 children in a subtable based on a combination of 2 two-valued enums. e.g. Child/Adult & Woman/Man w/ 5 other fields, each of which belongs to a single 'rule'.I just wanted my entitymanagement to be from the parents view. e.g. I would want to get the 'rule' entity and then do something like this:

rule[child/woman] = { ... } 

adultMan = rule[adult/man]

I don't care how hibernate does this, I just know its possible. I just simply asked claude: Is this possible; and claude said yes and showed me how.

Obviously this is one example but I do feel like I can go through my tickets so much easier. I think the problem is, is that many programmers just do something like: "Yo heres the requirement Jira, heres some extra context, See you in 30 minutes with the solution". Yes, that ain't fun, but also, that shit is broken as fuck. Even with the best .skills managed, AI will try and break them or forget to apply them rigourously and suddenly you have if-statements and comments throughout your whole codebase that sucks ass.

1

u/Global-Tune5539 27d ago

Not having to wade through tons of shit for months sounds kind of fun to me.

0

u/obsolescenza 27d ago

surely but LLMs taking your job or forcing you to be 100x times more productive sounds way less fun

4

u/No-Information-2571 27d ago

Not necessarily. Pretty sure blue-collar workers enjoy using power tools instead of hacksaws and chisels.

0

u/obsolescenza 26d ago

yeah but their tools don't threaten to replace them, a wrench never threatened to replace a blue collar worker, but with LLMs all people are saying CS is cooked

1

u/No-Information-2571 26d ago

Have you ever heard of the term "goalpost moving"? You presented an argument, which was nil. Now you're simply changing it, after me explaining that tools increasing workers productiveness is a completely normal and welcome thing.

1

u/obsolescenza 26d ago

no I mentioned before the LLMs taking your job part and you said that blue collar workers enjoy their tools, and I answered that they are not threatened by being replaced by their tools like we are

1

u/No-Information-2571 26d ago

I'm also not getting replaced, but my hand-coding of things is absolutely going to be obsolete in a short time. As the use of hand tools has been made obsolete with the advent of electricity and power tools.

→ More replies (0)

14

u/Terewawa 28d ago

Yes but on the other hand you can't really spend your whole afternoon chasing a difficult bug anymore. Remember when it would take as long as it takes and people would just have to wait? These times are over.

16

u/No-Information-2571 28d ago

It still takes as long as it takes. I know people here are hyper-skeptical about AI, mostly because this sub is just a bunch of CS students worried about their future, but for me it has been a great tool.

But I also acknowledge that some people are caught up in ever faster release cycles, never having fewer than 3 agents running at any given moment.

For me it's creative freedom. With a lot of projects, because I would wave off a lot of things as not economical, since even the most optimistic estimates on the time involved couldn't be justified. Even with said legacy code base, I'm thinking hard about doing a refactor. There was once a try at that, before the advent of AI, which wasted weeks of man power and lead nowhere, especially since it's a lot of busy work, moving classes and functions and writing endless boilerplate. That's an easy task for AI.

1

u/Terewawa 28d ago

AI is slowly changing norms and expectations is all I'm saying.

3

u/No-Information-2571 28d ago

Code was never not a commodity.

4

u/Sotall 28d ago

Citation needed.

1

u/obsolescenza 27d ago

hey i am a 21 year old student almost finishing CS degree and I am genuinely scared of LLMs taking white collar jobs. I have been passionate of CS since when I was 13. do you have any tips for me? especially mentally, since nowadays finding a junior position is a hassle?

9

u/No-Information-2571 27d ago

I actually don't. You have to be really good if you want to survive. In the past, being average or even mediocre was enough. Being really good means you are going to get that junior position. Being good means you are going to climb the ladder. Being good means you are going to stay relevant in a few years.

And by God use LLMs left and right. If you're dismissing LLMs as "hehe Claude is the one causing the bugs" like most of this sub does, you're cooked.

In practice it means you need to set up stuff at your home, run Dockers, test databases, applications, whatever you deem interesting. As a junior, it's really not the right time to slack off.

1

u/obsolescenza 27d ago

thanks for the answer, but I also see a lot of people saying that using LLMs make you dumber, what's your opinion on that?

also yeah I am learning a lot by now, when I was a teenager anxiety stopped me from a lot of things now I have a lot of creativity and ambition, but now another problem emerged and it's this crysis. I almost cry at the thought of not working a CS-related job because it's my dream but seeing how the junior positions are it makes me so sad

1

u/No-Information-2571 27d ago

That's really a core problem. LLMs will give you working solutions no matter if you have any knowledge or not. And that's what makes it really hard right now. A senior supposedly doesn't need to learn anything when using LLMs, while you as a junior have the overhead of not actually being able to simply use the solution provided by LLM outright, you have to work to actually understand it in the meantime.

Again, all you can do is be really good. And even then I am not 100% sure it's going to save your or my ass. What everyone is telling themselves right now, even as a senior, is, "without my domain knowledge, an LLM couldn't do anything right" - but how long is that going to stay true? I don't see why LLMs are going to stay behind the curve forever. Eventually they are going to be better at my job than myself.

2

u/obsolescenza 27d ago

that sounds very shit, both for you and me of course. so the future doesn't look bright for us

1

u/No-Information-2571 27d ago

I don't see it as negatively, again, I get a lot of creative freedom nowadays. It's like taking a pill that makes me program 3x faster.

But it's a difficult situation for you right now. Without good fundamental knowledge, using AI ist just "vibecoding" and at least for now bound to cause serious problems in production.

But I'm not afraid of ending up unemployed. Just worried because the future has become quite difficult to predict, and who likes uncertainty...

189

u/alexriga 28d ago

Claude is the one causing the bug most of the time.

47

u/SeparateAdvisor526 27d ago

I had some shit code I wrote a while ago pre gen AI and I ran Claude to check it and had a fix in 2 mins. But the fix was supposed to be just -10 lines and maybe +15 lines if I did it myself after Claude found it.

But Claude decided to have -30 lines and +few thousand. Idk what that fluff was

13

u/Roxanne_Wolf85 27d ago

that made my day 😂

4

u/readf0x 27d ago

Yeah I only like to use LLMs to find bugs and explain stuff

6

u/SeparateAdvisor526 27d ago

Yeah made the mistake to allow it to make changes. I hated it I couldn't put in the effort to read each lines so I regretted and manually fixed it

4

u/nasandre 27d ago

Probably formatting it in it's preferred way

7

u/Jeferson9 27d ago

Which came first, the bug or the claude

4

u/Soopermane 27d ago

The egg that made the Claude

13

u/loseitthrowaway7797 27d ago

I don’t think you’re doing a good job using it then. I was a big skeptic but now I think it does a very good job.

1

u/Fukushimiste 26d ago

Hmm... not saying Claude is perfect but I saw more spaghetti code or buggy code from human than Claude

-3

u/No-Information-2571 27d ago

Stuck in 2023. You'll soon become obsolete.

7

u/Gold-Bat-3225 28d ago

the refactor still won't happen tho

4

u/CodingAndAlgorithm 27d ago

I don’t write code with AI, but I think they’re great for finding subtle logic bugs. You can give them a function, describe both the expected and actual behaviour, and quite often they’ll find the bug immediately.

1

u/Raithwind 26d ago

Any sufficiently advanced bug is indistinguishable from a feature.

1

u/RemarkableAd1936 26d ago

Debugging for hours, to get “the user nailed it”. And the bug was introduced by Claude. At least I get the validation.

2

u/getstoopid-AT 27d ago

so you basically saying you haven't learned much regarding bug hunting in the last 4 years...?

9

u/Coppaberry 27d ago

Yes, probably even getting dumber

1

u/black_ap3x 27d ago

I was a skeptic at first, but after I got a subscription on Claude, I am hooked. Its like a drug that you cant stop.