Skip navigation
Programming Isn't Math, It's Linguistics.
0:00 / 0:58

Programming Isn't Math, It's Linguistics.

LaurieWired

166K followers

Visit on X
7,984 likesDownloadOriginal post

985,788 views

Programming Isn't Math, It's Linguistics. Compilers and Humans have the same problem. We're all terrible at understanding each other. Join me for some formal language theory, a lot of C++, and some "recreational" insults.

35 Comments

Comments from the original post on X (Twitter)

  • LaurieWired's profile picture

    @lauriewired

    Full Video:

    368 likes

  • ᵉₓᵖₑʳᵢ's profile picture

    @uwaooo

    everytime i see your post on x tech timelines it's just like finding a diamond in the pile of slop. thank you for making such content.

    153 likes

  • LaurieWired's profile picture

    @lauriewired

    @KIRBARA2000 thank you! that means a lot

    78 likes

  • LaurieWired's profile picture

    @lauriewired

    For anyone particularly upset about my statement “Programming is Linguistics”, I suggest you read this short story:

    152 likes

  • Adam Zachary Wasserman's profile picture

    @adamzwasserman

    Programming languages are pseudo formal systems, and formal systems are logic based/bounded. People who have difficulty understanding compilers are fundamentally people who have difficulties with formal logic where axioms predate the statements that follow.

    92 likes

  • dhruv's profile picture

    @hail_dhruv

    you remind me of these 2

    65 likes

  • Greg's profile picture

    @GregNotSure

    I've made the mistake once of taking her posts seriously, only to realize that she is a "content creator" and not an engineer. It is clear that she picks a subject, learns superficially about it, writes a script, fact-checks it, etc. This is mostly computing Mr-Beast-like stuff.

    63 likes

  • Jake's profile picture

    @MetaElenchus

    The argument can be made that math is just efficient linguistics at the lowest levels

    46 likes

  • ily⚡️'s profile picture

    @0xIlyy

    BABE WAKE UP!!!! NEW LAURIE WIRED VIDEO!!!!

    28 likes

  • Adam Zachary Wasserman's profile picture

    @adamzwasserman

    I see that my first comment was cryptic to some poeple. I will try and make my point more clearly: Programming is best understood through the lens of propositional logic — not pure math, not natural language. Programming is propositional logic with incomplete axioms and unreliable inference 1. .Programs are for the most part propositions about state transitions. 2. Compilers do partial proof-checking, but allow fail proofs (eg null derefs or race conditions) 3. Compilers are pseudo-formal because they allow statements that are outside of their axiomatic logic. Programming isn’t math (too total). It isn’t linguistics (too vague). It’s propositional logic — but with: Incomplete axioms Unreliable inference engines Expressions that look valid but explode That’s why humans and compilers misunderstand each other: They’re both trying to evaluate partially specified logical claims in a fragmented proof system. In summary: Programming is propositional logic with half the axioms and none of the soundness.

    22 likes

  • Non Compos DM's profile picture

    @NonComposDM

    This is why there is so much terrible code out there.

    20 likes

  • Chidi's profile picture

    @Ijohma

    Programming is largely mathematics: from algorithms to data structures and design patterns. The fundamental underpining is Maths, not numeracy, but Maths. Major programming language paradigms have their roots in Mathematics. The first programmer was a Mathematician.

    20 likes

  • aXes Quest 👾 Coding Toy's profile picture

    @aXes_Quest

    In my playground, programming is math - and math is art 👀

    15 likes

  • Evaldas. Code first's profile picture

    @lunfardo314

    Analogy is too shallow imo. Human language is about conveying meaning and sense between humans, “biological LLMs” if you wish. It is non-deterministic. Meanwhile programming is about passing instructions, meaning of which (semantics) is already hardcoded in the processor. It is deterministic. Two completely different functions. Using “language” here is misleading

    14 likes

  • Len Seaside's profile picture

    @LenSeaside

    That's an interesting point but I disagree entirely.

    10 likes

  • nick p's profile picture

    @np_codes

    It's commonly said amongst software developers. "I got into coding because there is no math"

    9 likes

  • NSG650's profile picture

    @nsg650

    Where did you get that duck? Is it your pet?

    8 likes

  • Filip Jerzy Pizło's profile picture

    @filpizlo

    This is so great! I especially love your content about compilers 💪🤘

    8 likes

  • Mike Gargano's profile picture

    @mgargano

    lisp ftw!!! it’s laurie approved!

    7 likes

  • Prawn Coaltrain's profile picture

    @TradMaldOwl

    Math is the better type of linguistics

    7 likes