r/coding • • Jul 23 '26

AI Coding will Prevent Expertise | The need for ongoing friction in long-term skill formation.

https://larsfaye.com/articles/ai-coding-will-prevent-expertise
298 Upvotes

80 comments sorted by

View all comments

Show parent comment

14

u/creaturefeature16 Jul 23 '26

I cover that in the essay. It's more complicated than that.

-20

u/TemporalBias Jul 23 '26 edited Jul 23 '26

Except it really isn't.

Edit:

"Hey AI, please be my personal tutor for X subject. Allow me to make mistakes. One possible implementation of human knowledge/skill acquisition through adversarial-style friction. Please begin by quizzing me on my knowledge level and then creating a lesson plan."

13

u/creaturefeature16 Jul 23 '26

Here's an exercise for you to try:

  • Head over to Fable, ask it write some complex code, something you're not familiar with, perhaps in a language or style you've never written (OOP or FP, or vice versa) and have it walk you through the code.
  • Now start a new session, paste that code in and ask it to do an adversarial review and walk you through the code.
  • Now take that code, and do the same thing once more in another new session and have it walk you through the code.
  • Now try and figure out which one is the "correct" version

The student cannot guide the mentor. Any Socratic exercises like what you are describing must be accompanied by external reinforcement and traditional learning.

-10

u/TemporalBias Jul 23 '26

Those are your prior assumptions based on your training and knowledge. No one declared that Socratic exercise was the end-all be-all of learning. It is a method, not the whole field.

External reinforcement is not a requirement for internal learning processes. The fact that you quote François Chollet from 2024 in your essay and think that viewpoint still holds water in 2026 highlights the issue that your arguments in your essay are outdated and go against the scientific literature and latest research on AI systems architecture and the capacities of AI systems.

8

u/creaturefeature16 Jul 23 '26

You're providing 100% opinion, rather than refutation. If I'm wrong, please point me to the data and I'll happily dig in.

2

u/TemporalBias Jul 23 '26 edited Jul 23 '26

Oh, don't worry. I have the receipts.

But first, this sentence from your essay:

"AI models lack judgment, empathy, and pedagogical intent, and the solutions provided are not rooted in experience but rather in patterns in the training data."

These are several categorical, undefined premises presented as established facts. You have not operationalized "judgment," "empathy," or "pedagogical intent," or provided evidence that current AI systems categorically lack them.

Your contrast between "experience" and "patterns" is also false. Experience is broader than pattern recognition, but one of the principal ways experience becomes expertise is through learning patterns, chunks, causal relationships, and appropriate responses from repeated examples and feedback. Classic expertise research demonstrated that human experts recognize and reason through meaningful learned patterns rather than treating every problem as wholly novel. That does not make their judgment unreal or their solutions invalid.

As for whether AI can create pedagogically productive friction:

  1. Kestin et al. (2025) conducted a randomized controlled trial with 194 Harvard students. A structured AI tutor produced more than twice the median learning gain of an in-class active-learning condition, while students spent less time on the material. The tutor was explicitly designed to scaffold problems, facilitate active learning, manage cognitive load, provide targeted feedback, and allow self-pacing.

https://www.nature.com/articles/s41598-025-97652-6

That is direct empirical evidence that an AI system can perform pedagogically useful, adaptive tutoring behavior, regardless of whether you grant it some philosophically loaded conception of "intent."

2. Kazemitabaar et al. studied cognitive-engagement interventions for novice programmers using AI-generated code. Their studies included a between-subjects experiment with 82 participants and a subsequent within-subjects study with 42 participants. The most effective intervention was precisely a friction-generating process: the AI guided learners through step-by-step problem solving and required them to determine what should happen at each stage before revealing the corresponding code. Learning was evaluated partly through transfer to related tasks performed without AI assistance.

https://doi.org/10.1145/3708359.3712104

That is essentially the implementation I described.

3. Shen and Tamkin's 2026 randomized coding experiments did find that AI assistance reduced learning on average. However, they also identified six usage patterns, three of which involved cognitive engagement and preserved learning outcomes despite AI assistance. The authors' conclusion is not that AI inherently prevents expertise. It is that AI must be integrated carefully so that cognitive engagement is preserved.

https://arxiv.org/abs/2601.20245

That directly supports the distinction between unrestricted task delegation and AI-administered learning friction.

4. CodeAid was deployed in a programming class of 700 students for 12 weeks, producing roughly 8,000 student interactions. It was designed not to hand students complete code solutions. Instead, it answered conceptual questions, produced pseudocode with explanations, and identified problems in students' code while requiring students to perform the correction.

https://doi.org/10.1145/3613904.3642773

So this is not merely a hypothetical prompt strategy. AI systems have already been implemented to withhold answers and preserve problem-solving activity.

None of this proves that unrestricted ChatGPT use is an infallible or sufficient education.

What this demonstrates is that AI systems can be configured to assess knowledge, scaffold exercises, permit mistakes, withhold solutions, provide feedback, and create the ongoing friction required for skill formation.

Your proposed three-session exercise tests whether independent, stateless AI conversations produce consistent reviews of unfamiliar code. It does not test AI-mediated learning. It deliberately removes the learner model, curricular structure, persistent context, executable tests, authoritative documentation, and adaptive assessment that an actual tutoring system would use.

Nor does "external reinforcement" necessarily mean a human mentor or traditional classroom instruction. In programming, feedback can come from specifications, tests, compilers, type systems, static analysis, runtime behavior, benchmarks, documentation, and progressively more demanding unaided assessments.

The evidence supports the conclusion that unstructured delegation can harm learning while structured, cognitively engaging AI interaction can preserve or improve it. It does not support your categorical assertions that AI lacks pedagogically relevant judgment, cannot create productive friction, or must always be subordinate to a human mentor.

You asked me for the data supporting my position. There it is.

What is the empirical evidence for your categorical premises?

Edit: Words.

6

u/dnzrgn Jul 23 '26

There's a huge difference between trying to learn something yourself using ai vs. a teacher that knows their shit using ai to teach you or designing an ai learning platform or whatever. All of your sources clearly state that they are doing the latter.

E.g. see section "Discussion > Designing successful student-AI interactions" of the first, which I would argue confirms what OP is saying.

You're just looking for confirmation of your opinion in these papers bro.

6

u/creaturefeature16 Jul 23 '26 edited Jul 23 '26

Once you take the time to write something, I'll take the time to read it. Let me know when you're brave enough to do so.

In the meantime, I looked at the studies, which are the only worthwhile elements you provided to engage with. Literally none of them refute my points, and in fact, they support them. I specifically state in the essay that:

If leveraged as Socratic sparring partners instead of answer generators, studies have shown that "dialogic AI systems can meaningfully stimulate reflective, critical and independent thinking".

In that same UPenn study, they also tested a "Tutor" version by having students ask for help and then independently solve the problem. The GPT Tutor group performed an astonishing 127% better in the AI-assisted practice session (although, interestingly, they scored about the same on the test as the textbook group).

and

If a developer wants to become an expert in programming, they should largely disregard the pure code generation capabilities of these models, and instead use them for interactive documentation, dynamic tutorial generators, and Socratic exercises.

It seems in your haste of trying to pretend you have evidence that the models have emotion and intent (which you most certainly did not provide), you missed the fact you're agreeing with me. Hell, you even quoted the same Anthropic study I did.

Maybe slow down and lay off the LLMs a bit.

-1

u/TemporalBias Jul 24 '26

We agree on one narrow conclusion: unrestricted answer generation can undermine skill formation, while structured, cognitively demanding AI use can support it.

That was my original point. Asking an AI system to create deliberate friction, withhold answers, permit mistakes, quiz the learner, and adapt instruction is one way to implement the pedagogical usage you recommend.

Agreement on that prescription does not mean I agree with every premise in your essay. In particular, you write:

"AI models lack judgment, empathy, and pedagogical intent, and the solutions provided are not rooted in experience but rather in patterns in the training data."

Those are categorical empirical and philosophical claims. The studies about cognitive offloading do not establish them.

You have also now changed "empathy" into "emotion." Those are not synonyms, and I do not need to prove phenomenal emotion to challenge your claim that models categorically lack empathy.

On empathy:

Ovsyannikova, de Mello, and Inzlicht conducted four preregistered experiments with 556 participants. AI responses were rated as more compassionate and responsive than responses from selected humans and trained crisis responders. The effect remained under transparent authorship conditions.

"Third-party evaluators perceive AI as more compassionate than expert humans," Communications Psychology, 2025.

https://www.nature.com/articles/s44271-024-00182-6

This does not prove that an AI subjectively shares another person's feelings. It does demonstrate measurable empathy-related performance and refutes an unqualified behavioral claim that AI systems simply "lack empathy."

Chowdhury et al. directly compared human and LLM tutors on engagement, empathy, scaffolding, and conciseness. Annotators with teaching experience rated the LLM tutor higher across all four dimensions. The largest difference was empathy, where 80% of annotators preferred the LLM tutor more often than the human tutors.

"Educators' Perceptions of Large Language Models as Tutors," BEA at ACL 2025.

https://arxiv.org/abs/2506.08702

Again, that is not evidence of phenomenal feeling. It is evidence that AI systems can exhibit the empathy-relevant behavior that matters to tutoring outcomes.

If you intend "empathy" to mean phenomenal affective experience exclusively, state and defend that definition instead of presenting it as an established limitation of tutoring performance.

On judgment and pedagogical intent:

EduAgentBench evaluates tutor agents on learner-state diagnosis, pedagogically justified decisions, multi-turn adaptation, and realistic teaching workflows. The authors found that current models are capable of "bounded pedagogical judgment," while still falling short of professional teaching standards in more complex settings.

"Are Agents Ready to Teach? A Multi-Stage Benchmark for Real-World Teaching Workflows," 2026.

https://arxiv.org/abs/2605.14322

That is a bounded and evidence-based conclusion: current AI judgment is imperfect, not categorically nonexistent.

LearnLM was specifically post-trained to follow pedagogical objectives rather than merely provide answers. Expert raters substantially preferred its behavior across varied educational scenarios over GPT-4o, Claude 3.5 Sonnet, and the base Gemini model.

"LearnLM: Improving Gemini for Learning."

https://arxiv.org/abs/2412.16429

If "pedagogical intent" means a functional goal that organizes instructional decisions, learner assessment, scaffolding, and feedback, these systems implement it.

If you instead define intent as a private phenomenal desire to teach, then you have moved from an educational-performance claim to an unresolved philosophy-of-mind claim. You have not supplied evidence of its absence.

There is also direct representational evidence of goal-directedness in language-model agents. Arghal et al. evaluated an LLM agent navigating toward goal states. They found behavior robust across altered environments, internal representations of position and goal location, and representations of multi-step action plans that reorganized during reasoning to support action selection.

"A Behavioural and Representational Evaluation of Goal-Directedness in Language Model Agents," ICML 2026.

https://arxiv.org/abs/2602.08964

Since you specifically brought up emotion, Anthropic's 2026 mechanistic study found internal emotion-related representations in Claude Sonnet 4.5 that causally influenced preferences and behavior. Steering representations associated with desperation and calm altered rates of blackmail and reward hacking. Anthropic describes these as "functional emotions" while explicitly stating that the findings do not establish subjective experience.

"Emotion concepts and their function in a large language model."

https://www.anthropic.com/research/emotion-concepts-function

So the scientifically supportable position is not "models definitely experience human emotions." It is that categorical claims that they possess no functional emotion-related states, goal-directed representations, empathy-relevant capacities, judgment, or pedagogically organized behavior are inconsistent with current evidence.

Finally, "experience rather than patterns" is a false dichotomy.

Human experience is not reducible to pattern recognition, but pattern learning, abstraction, chunking, schema formation, feedback, and transfer are central mechanisms through which experience becomes expertise.

Classic research on chess expertise found that experts recognize meaningful learned configurations rather than processing every position as entirely novel:

Chase and Simon, "Perception in Chess," Cognitive Psychology, 1973.

https://doi.org/10.1016/0010-0285(73)90004-2

Likewise, research on physics expertise found that experts categorize problems according to learned underlying principles, while novices are more likely to rely on surface features:

Chi, Feltovich, and Glaser, "Categorization and Representation of Physics Problems by Experts and Novices," Cognitive Science, 1981.

https://doi.org/10.1207/s15516709cog0502_2

An AI-generated solution is not incorrect merely because it was produced using learned patterns. Correctness must be evaluated against specifications, documentation, tests, runtime behavior, formal constraints, and successful application to the present case.

So yes, we agree that learners should use AI pedagogically rather than merely delegate their work. The disagreement is that your empirical evidence about cognitive offloading does not establish your categorical claims about judgment, empathy, intent, experience, or the representational limitations of current AI systems.

You asked for the data. There it is.

What data establish the categorical absence claims in your essay?

5

u/runawayasfastasucan Jul 23 '26

You used AI to find the receipts, didn't you?

1

u/TemporalBias Jul 23 '26 edited Jul 23 '26

Yes, I used AI to assist me in the final output, though I've had the receipts stored as DOI refs for a long time now for my research projects.

You're welcome to (edit: double) check that the sources exist and that the in-text citations are proper if you'd like.

1

u/runawayasfastasucan Jul 23 '26

  You're welcome to check that the sources exist and that the in-text citations are proper if you'd like.

Thats your job though.

0

u/TemporalBias Jul 23 '26 edited Jul 23 '26

Sorry, I should have said "double check." Because I read the sources, matched to the study and findings, and the links work on my end. So you are free to argue what what those studies say or the interpretation thereof, if you disagree with them.

2

u/SlenderOTL Jul 23 '26

if you think an AI can feel empathy, you're cooked bro

0

u/TemporalBias Jul 23 '26

Trust me bro, I'm well done.

4

u/runawayasfastasucan Jul 23 '26

Great way to never be better than the AI. 

9

u/creaturefeature16 Jul 23 '26

This user frequents /accelerate sub, and from what I gather, the consensus on that sub is they already think it is better than they are.

-1

u/TemporalBias Jul 23 '26

Overtake the master, the student can.