Tell HN: Claude is a crap learning tool

1 points by purple-leafy ↗ HN
I have paid for Anthropic Claude, and I'm bloody sick of it, I regret it.

I have been learning C in my spare time, doing the NandToTetris course and implementing my solutions in C. This has been great for learning.

I got stuck on a regex problem and JUST wanted to know how to do a particular regex for interpreting an expression. I struggled to find resources on C-style regex.

Heres exactly what I asked Claude

    Can you write a C language regex, using regex.h, just to split the following structure on "=" or ";"

    <DEST>=<COMP>;<JUMP>


    Only comp is mandatory so you could get any of these combinations:

    dest=comp
    comp;jump
    dest=comp;jump
Claude then proceeds to solve the entire assignment for me using the context to realise I'm talking about a NandToTetris assignment.

This really pisses me off, these fucking AI tools assume you want a full solution every time. I'm not here to maximise productivity, I'm here to LEARN! I just wanted a concise regex, nothing else. Pisses me off so much that I've cancelled my subscription.

I hope all this AI shit fucking fails and we go back to human-led programming.

Imagine a lecturer that did your homework for you.

7 comments

[ 0.27 ms ] story [ 28.5 ms ] thread
That's when you say "Respond with ONLY the Regex. Do not respond with any other text."

LLMs are not mind readers.

This is true, I ended up making a custom instruction for it to never give code solutions unless explicitly told to do so. I just think its a bit trigger happy by default, it blurts out code almost no matter what you ask it
I've come to prompt in this format and its working well for me. I once had your issue on another subject and it was indeed annoying.

"Claude - Im learning to program C - I wan't you to help me learn"

"I'm unsure what Im doing so can you walk me through the problem 1 step at a time? We can decide when to move to the next step but I want to be sure I understand each step as we go"

"Ok - I get it so far - Im ready for the next small step so we can discuss it"

You said: Can you write a C language regex, using regex.h, just to split the following structure on "=" or ";"

I mean, it did exactly PRECISELY what you asked it to do - you asked it to write a program and it did! Never mind anything, how cool is that??

Yeah I was wrong and grumpy, but I've solved it with a custom instruction - works well enough now
Why not tell it, "I only want the regex, don't give me the entire solution. I'm doing this to learn, please don't spoil the assignment for me." Anyway, if you want to learn regex there are many interactive regex tools online that you can use to iterate on.
I ended up cooling down and sleeping, and making a custom instruction for it. Seems to work better, but its so condescending now haha
Yeah, you're prompting it wrong.

This was on the frontpage yesterday, and it's very true:

> https://simonwillison.net/2024/Dec/31/llms-in-2024/#llms-som...

You have to be very careful about how you prompt them. As others have said, if you want results that are limited in a certain way, or in a certain format, you need to add that instruction to your prompt. LLMs like Claude are amazingly versatile and powerful tools, and they're also very flexible in response to your input, so tell them exactly what you need.