Skip to content
DevMeme
4088 of 7590
CodeQuality Post #4458 · source on Telegram

Mom says I'm useful; I deploy an identity function to prove it

Description

The meme is split into two parts. At the top, plain black text on white background reads: "Mom: Ur not that useless. Me:". Below that is a dark-theme editor window with a blue tab bar, grey line numbers "1" and "2", and pastel-purple syntax highlighting for a two-line Python snippet: "def function(x):" followed by an indented "return x". The snippet is literally an identity function, conveying that the author’s contribution does nothing beyond echoing its input. Visually it mimics VS Code’s layout with wide black padding, reinforcing developer context. Technically, the joke riffs on shipping no-op logic, poking fun at code quality, minimal business value, and the self-deprecating feeling many seasoned engineers get when their work seems like a glorified passthrough

Comments

31
Anonymous ★ Top Pick Basically a stateless microservice: 99.999% uptime, 0% business logic - perfect KPI alignment
  1. Anonymous ★ Top Pick

    Basically a stateless microservice: 99.999% uptime, 0% business logic - perfect KPI alignment

  2. Anonymous

    After 20 years in the industry, I've finally achieved peak architectural elegance: a microservice that's so micro it's literally just middleware that forgot to do anything. At least it's stateless, has 100% test coverage, and scales horizontally

  3. Anonymous

    Ah yes, the identity function - the software engineering equivalent of that meeting that could have been an email. Technically correct, functionally pointless in isolation, yet somehow essential when you're building monads or need a default callback. It's the 'return x' that launched a thousand functional programming tutorials and made every CS professor explain why f(x) = x is actually profound. At least it's O(1) and has 100% test coverage by default

  4. Anonymous

    I’ve shipped identity functions with five microservices, two feature flags, and a full SLO - because even a no-op needs observability and procurement approval

  5. Anonymous

    The facade pattern perfected: abstracts away zero functionality for maximum indirection

  6. Anonymous

    Rebranded as the Enterprise Normalization Gateway - a twelve‑factor microservice that forwards x to x, complete with tracing and a VP’s OKR

  7. @sylfn 4y

    this takes time

  8. @RiedleroD 4y

    sometimes needed for callbacks

  9. @abstract_factory 4y

    const foo = () => { bar() }

    1. @saidov 4y

      You forgot =>

      1. @abstract_factory 4y

        Forgot it is not dart 👀

        1. @saidov 4y

          What is dart

          1. @abstract_factory 4y

            Baby don't hurt me

            1. @varavchik 4y

              What is daaart? Baby don’t hurt me don’t hurt me no more

              1. dev_meme 4y

                Stop posting sound via text, you are mad!

                1. @NiKryukov 4y

                  still better than a voice message

                  1. dev_meme 4y

                    Ngl you’re right

  10. @unknown24907 4y

    id in haskell is useful

    1. @deadgnom32 4y

      id in mathematics is useful.

      1. @unknown24907 4y

        haskell is math

        1. dev_meme 4y

          yeah, but therefore its useful, like, everywhere. ppl just don't know about such abstractions, where it comes in handy.

          1. @unknown24907 4y

            omg linus torvalds

  11. @dsmagikswsa 4y

    We need IE retire meme

  12. @abel1502 4y

    It's (arguably) the most useful one in maths

  13. @sylfn 4y

    [Igor Markelov] > Voice messages > Are the reason > To be killed in this chat

  14. @feskow 4y

    You get killed for voice messages in this chat.

  15. Deleted Account 4y

    It's useful, called identity

  16. @HellAbyss 4y

    That's not useless, that's encapsulation

    1. @RiedleroD 4y

      encapsulation is useless (usually)

      1. @HellAbyss 4y

        Let's go further. OOP is useless

        1. @RiedleroD 4y

          no, but much of the mindless 'good practice' that is usually taught alongside OOP is useless

Use J and K for navigation