this post was submitted on 19 Nov 2024
161 points (98.8% liked)

Programmer Humor

32503 readers
445 users here now

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

Rules:

founded 5 years ago
MODERATORS
 

That's not universal. For instance, last week I got help writing a bash script. But I hope they're helping lots of you in lots of ways.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 32 points 15 hours ago (3 children)

I TA for an electrical engineering class. It's amusing, to look at student's code these days. Everything is so needlessly wrapped up in 3-line functions, students keep trying to do in 25 lines what can be done in 2, and it all becomes impossible to debug.

When their code inevitably breaks, they ask me to tell them why it isn't working. My response is to ask them what its meant to be doing, but they can't answer, because they don't know.

The sad thing is we try to make it easy on them. Their assignment specs are filled with tips, tricks, hints, warnings, and even pseudo-code for the more confusing algorithms. But these days, students would rather prompt chatgpt than read docs.

I've never seen chatgpt ever benefit a student. Either it misunderstands and just confuses the student with nonsense code and functions, or else in rare cases it does its job too well and the students don't end up learning anything. The department has collectively decided to ban it and all other genAI chatbots starting next semester.

[–] [email protected] 8 points 13 hours ago (1 children)

This is my big concern at my day job. Management keeps pushing AI chat on my younger co-workers, but they can't tell when it's hallucinating. And since there's no feedback loop (our chatbot doesn't learn from us as we type), it just keeps spewing the same lies.

[–] [email protected] 4 points 12 hours ago (1 children)

Yeah, been dealing with that a bunch lately too, I've started pushing them towards the documentation directly (though to be fair, sometimes that's ass or nearly nonexistent) with some success.

[–] [email protected] 3 points 11 hours ago

Tbh I often find chatbots good for edgecases which are not well-documented (or not documented at all) but hard too google because one of the (or a subset of the) keywords is just flooded with (ireelevant/) unrelated garbage.

[–] [email protected] 4 points 12 hours ago* (last edited 12 hours ago)

I don't understand why it would be acceptable to submit generated code in the first place. I'd say it's functionally asking others to complete your assignment. Sampling code excessively and without attribution is plagiarism.

And seconding that concern about people not even learning how code works. This was an issue even before chatGPT, when people would by-default look up stack overflow snippets or existing algorithms instead of thinking and training their mind to be able to solve actual real problems, but now it's probably much more widespread as an easier way out. If the school is able to do a code exam in an offline environment, even with manual docs available, it should weed out the ones who didn't learn pretty quickly.

[–] [email protected] 0 points 14 hours ago* (last edited 14 hours ago) (2 children)

How do you know if it doesnt benefit a student? If their work is exceptional, do you assume they didnt use an LLM? Or do you not see any good code anymore?

[–] [email protected] 5 points 12 hours ago (1 children)

It replaces the work required to research and think about the problem. You know the part where you'd normally learn and understand the issue at hand

[–] [email protected] 1 points 6 hours ago

Im asking about this individuals experience as a ta, not for an opinion on llms.

[–] [email protected] 3 points 13 hours ago (1 children)

I mean, they don't generally keep their use of chatgpt a secret. Not for now, anyway. Meanwhile, the people who do well in the class write their code in a way that clearly shows they read the documentation, and have made use of the headers we've written for them to use.

In the end, does it matter? This isn't a CS major, where you can just BS your way through all your classes and get a well paying career doing nothing but writing endpoints for some js framework. We're trying to prepare them for when they're writing their own architecture, their own compilers, their own OSses; things that have 0 docs for chatgpt to chew up at spit out, because they literally don't exist yet.

[–] [email protected] 1 points 6 hours ago

Oh interesting that they wouldnt need or want to hide that. When i use it i interpret every line of code and decide if its appropriate. If that would be too time consuming then i wouldnt use an llm. I would never deviate from the assignment criterion or the material covered by deferring to some obscure methodology used by an llm.

So i personally dont think its been bad for my education, but i did complete a lot of my education before llms were a thing.

Dont you guys test the students in ways to punish the laziness? I know you are just a ta, but do you think the class could be better about that? Some classes ive taken are terribly quality and all but encouraged laziness, and other classes were perfactly capable of cutting through the bullshit.