Skip navigation
Why people should learn to code by hand: it's a mechanism for learning and teaching.
0:00 / 3:45

Why people should learn to code by hand: it's a mechanism for learning and teaching.

Ben Dicken

@BenjDicken54K followers

Visit on X
2,034 likesDownloadOriginal post

104,029 views

Why people should learn to code by hand: it's a mechanism for learning and teaching. In much the same way you should still learn calculus, even if writing it by hand isn't that "useful" for your career. Andrej Karpathy's series on llm's is a wonderful example (it's incredible btw). Come in knowing a little calc AND python and you'll get a ton out of it very quickly. Following this would be much harder not knowing operator overloading, FP arithmetic, classes, etc. The future is not writing python, rust, or asm by hand. But just like learning mathematical notation, grokking one or a few PLs well is a foundation on which you can build a lot of other deep knowledge, and gain a strong sense of computing systems.

25 Comments

Comments from the original post on X (Twitter)

  • Anirudh Sharma's profile picture

    @anirudhology

    @karpathy Yes, I totally agree and that's where I disagree with DHH:

    7 likes

  • Ben Dicken's profile picture

    @BenjDicken

    @karpathy I agree writing code by hand is not economically viable as a career. Same with hand-writing calculus. Valuable for learning is not the same thing.

    15 likes

  • Ryan Rodemoyer's profile picture

    @RyanRodemoyer2

    @karpathy There has to be a better way in 2026 to learn coding by hand than the struggles we all went through fussing with semi colons, syntax, whitespace, silly bugs, etc.

    6 likes

  • Ben Dicken's profile picture

    @BenjDicken

    @karpathy Why would you want struggle-free learning?

    24 likes

  • Ryan Rodemoyer's profile picture

    @RyanRodemoyer2

    @karpathy Why would you want struggle-full learning?

    2 likes

  • Shane's profile picture

    @digitalshane_

    @karpathy The audacity to suggest I should use my brain...

    2 likes

  • Ben Dicken's profile picture

    @BenjDicken

    @karpathy

    9 likes

  • Emrah's profile picture

    @emrahdma

    @karpathy First it was C, then python, now coding at all.. pretty soon it'll be "you should learn to read and write" 😜

    1 like

  • Anupam Khatiwada's profile picture

    @forthechemicals

    @karpathy The idea that one should stop learning altogether because technology can do the professional bits is akin to saying that kids should not be taught basic arithmetic as calculators already exist.

    1 like

  • Patrick Michel's profile picture

    @dampajoo1

    @karpathy The future is not LLMs writing python, rust or asm.

    1 like

  • Nathan Benavides-Luu's profile picture

    @nthnluu

    @karpathy If you think about it, working in software before agentic coding was like free education paid by your employer

    1 like

  • ethan's profile picture

    @ethancratchley

    @karpathy I can't believe Karpathy uses safari

    1 like

  • Ben Dicken's profile picture

    @BenjDicken

    @karpathy I can't believe he wrote the code by hand

    1 like

  • Pankaj's profile picture

    @pankajsameold

    @karpathy Ben, every single AI Jon I see, is asking for being hands on with python. You do not need to be best python developer but shoud be able to read the code and do basic debugging

  • Jason's profile picture

    @scozuXX

    @karpathy in art school we still learned figure drawing as well as digital tools. teaches you things about light and form you can’t get elsewhere

  • noøne 🐦‍🔥's profile picture

    @byte_noone

    @karpathy Ben you are sick 🔥🔥🔥🔥🔥

  • irfan - ئىرفان's profile picture

    @ikorason

    @karpathy “you should still learn calculus, even if writing it by hand isn't that "useful" for your career.” - that’s gold

  • RyanQuinn's profile picture

    @Frown360Turn

    @karpathy Yea the mechanisms we learn and retain by are not the same as the ones allowing the most productivity. I hate writing down things, but it helps reinforce the knowledge so I keep doing it.

  • Charlie Grant's profile picture

    @Charlie01748449

    @karpathy nobody learns calculus to compute. you learn it so you can tell when the calculator is lying

  • Wen's profile picture

    @xiaoshan0413

    @karpathy 手写代码的价值从来不在产出效率,而在于把"为什么"刻进脑子里。AI写得越快,人越要清楚自己在要什么,不然连review都做不好。手写一遍建立起心智模型,胜过看十遍生成的结果。Karpathy那个系列就是最好的例子:慢功夫才是真功夫。