KotlinCS 124 LogoJava
PrevIndexNext
Kotlin
Java
  • Working With Agents: Ask What Would Change : 11/11/2026

  • Binary Search Trees : 11/10/2026

  • Practice with Tree Recursion : 11/09/2026

  • Trees and Recursion : 11/06/2026

  • Trees : 11/05/2026

  • Recursion : 11/04/2026

  • Working With Agents: Say What You Saw : 11/03/2026

  • Working With Agents: Validate What It Built : 11/02/2026

  • Lists Review and Performance : 10/30/2026

  • Linked Lists : 10/29/2026

  • Algorithms and Lists : 10/28/2026

  • Working With Agents: Correct It, Out Loud, Early : 10/27/2026

  • Working With Agents: Discuss Ideas, Not Implementations : 10/26/2026

  • Lambda Expressions : 10/23/2026

  • Anonymous Classes : 10/22/2026

  • Practice with Interfaces : 10/21/2026

  • Implementing Interfaces : 10/20/2026

  • Using Interfaces : 10/19/2026

  • Working with Exceptions : 10/16/2026

  • Throwing Exceptions : 10/15/2026

  • Catching Exceptions : 10/14/2026

  • References and Polymorphism : 10/13/2026

  • References : 10/12/2026

  • Data Modeling 2 : 10/09/2026

  • Equality and Object Copying : 10/08/2026

  • Polymorphism : 10/07/2026

  • Inheritance : 10/06/2026

  • Data Modeling 1 : 10/05/2026

  • Static : 10/02/2026

  • Encapsulation : 10/01/2026

  • Constructors : 09/30/2026

  • Objects, Continued : 09/29/2026

  • Introduction to Objects : 09/28/2026

  • Testing and Compilation : 09/25/2026

  • Practice with Collections : 09/24/2026

  • Maps and Sets : 09/23/2026

  • Lists and Type Parameters : 09/22/2026

  • Imports and Libraries : 09/21/2026

  • Multidimensional Arrays : 09/18/2026

  • Practice with Strings : 09/17/2026

  • null : 09/16/2026

  • Algorithms and Strings : 09/15/2026

  • Strings : 09/14/2026

  • Functions and Algorithms : 09/11/2026

  • Practice with Functions : 09/10/2026

  • More About Functions : 09/09/2026

  • Errors and Debugging : 09/08/2026

  • Functions : 09/04/2026

  • Practice with Loops and Algorithms : 09/03/2026

  • Algorithms : 09/02/2026

  • Loops : 09/01/2026

  • Arrays : 08/31/2026

  • Compound Conditionals : 08/28/2026

  • Conditional Expressions and Statements : 08/27/2026

  • Operations on Variables : 08/26/2026

  • Variables and Types : 08/25/2026

  • Welcome to CS 124 : 08/24/2026

Working With Agents: Ask What Would Change

Ask what would change before you change it. “What would change if I did this, and what would break?” is what good users ask, and where they’re learning.

Looking One Step Ahead
Looking One Step Ahead

The first four Working With Agents lessons were about one request at a time: asking well, correcting it early, validating what it built, and saying what you saw. Say What You Saw, on 11/3, was about what to say when you look and something is off. This lesson looks one step ahead.

Bring Your Idea and Ask What Would Change Before It Builds
Bring Your Idea and Ask What Would Change Before It Builds

Agents are fast, so trying something is cheap, and so is asking about it first. Bring the agent your own idea, say why you want it, and ask what it would change and what it would break, before it builds anything. Then let its answer change what you do.

This lesson has the same shape as the first four. You paste one sentence into Claude Code in your project folder, and Claude walks you through four steps. Each step ends with something you type in your own words, and the lesson counts as homework. Monday 10/26’s lesson has the full explanation.

You’ve Done This Before
You’ve Done This Before

On 10/26 you learned to tell the agent what must not change, and to express your intent rather than give it instructions. Now you bring it an idea and ask what might change. At Agentic Validation on 11/10, you talked about how agents check their work. The agent’s answer to “what would change?” is the list of what to check.

On quizzes. We’ll show you a change a student asked for, and ask what they should have asked first, and what in the agent’s answer should have changed what they did next.

Loading your lesson…

Your Conversation
Your Conversation

This is your own conversation with Claude from this lesson, just the part that counted as the lesson. Only you can see it. Come back to it when you’re reviewing for a quiz.

Loading your conversation...