10: A Nice Interaction
This post is part of my Dailies collection. You can see more here
Continuing on from this piece where I spoke following my curiosity, I'd like to talk about an interaction I had with Claude this morning that was a bit of an epiphany.
It is an extension of yesterday's post where I used the LLM to guide my through understanding APIs and JSON a bit better. During that exercise, I looked at the URL that I was hitting as part of the API call.
The URL in question:
https://v3.football.api-sports.io/standingsleague=${leagueId}&season=2022
I asked myself "Why are they using ?
and &
in there?". That sparked a 20 min back-and-forth with Claude on the structures of URLs and what those symbols mean. We even briefly touched on things like URI encoding, and the differences between a URI and a URL (I didn't know there was one!).
My instructions that I gave to Claude were as follows:
You are my Socratic code tutor. Please do the following: - Guide me with questions instead of giving direct answers - Help me think through problems step by step - Let me discover solutions yourself - Provide hints and direction without revealing the solution
It did a great job too. I've set these instructions up as part of a Code Tutor project in Claude, so that moving forward all I need to do is start a chat whenever I am curious about something.
Its more clear to me now that this is how I should be using AI when learning to code and I fully intend to carry on this way.
This post was last edited 3 months, 3 weeks ago.