Skip to content
DevMeme
4317 of 7590
FunctionalProgramming Post #4719 · source on Telegram

Why call it functional programming when my functions refuse to function?

Description

The image is a dark-themed Discord chat screenshot. At the far left is a circular avatar showing a sliced pita sandwich on a wooden board. Next to it, the username "oscar91 [do ping]" appears in burnt-orange text, followed by the gray timestamp "Today at 01:03." Beneath that, in white lowercase letters, the single chat line reads: "why do they call it functional programming if the code i write doesnt function." The meme relies on self-deprecating wordplay that contrasts the formal computer-science term "functional programming" with the everyday reality of code that fails to run, poking fun at the learning curve and bug-ridden experiments many engineers face when adopting FP paradigms

Comments

9
Anonymous ★ Top Pick They call it functional programming because once the 14-layer monad transformer stack finally type-checks, everyone just assumes it must function - after all, referential transparency never took prod down
  1. Anonymous ★ Top Pick

    They call it functional programming because once the 14-layer monad transformer stack finally type-checks, everyone just assumes it must function - after all, referential transparency never took prod down

  2. Anonymous

    After 15 years of explaining monads as 'just a monoid in the category of endofunctors,' I finally understand why my code doesn't function - turns out the real side effect was the existential crisis we developed along the way

  3. Anonymous

    The real functional programming was the side effects we accumulated along the way. This developer has discovered the fundamental theorem of FP: your code can be referentially transparent and still return `undefined` in production. It's called 'functional' because the functions exist, not because they work - much like how 'serverless' still runs on servers and 'NoSQL' databases still have query languages. The paradigm promises mathematical purity and composability, but somehow our monads still throw exceptions at 1 AM

  4. Anonymous

    Functional programming: my code’s so pure it refuses to interact with reality - shipping features is a side effect we exiled to IO and then forgot to run

  5. Anonymous

    In FP, “doesn’t function” usually means you composed a cathedral of pure lambdas and never forced the thunk - gorgeous referential transparency, zero side effects, and absolutely nothing in prod

  6. Anonymous

    Functional programming: referential transparency for bugs - same crash, every pure run

  7. @affirvega 4y

    Please provide English translation, thanks

    1. @viktorrozenko 4y

      Почему это называется "функциональное программирование" если мой код не функционирует?

  8. @FeelTerr 4y

    Dysfunctional programming

Use J and K for navigation