Post:

If you’re still shipping load‑bearing code in C, C++, Python, or vanilla JavaScript in 2025, you’re gambling with house money and calling it “experience.”

As systems scale, untyped or foot‑gun‑heavy languages don’t just get harder to work with—they hit a complexity cliff. Every new feature is another chance for a runtime type error or a memory bug to land in prod. Now layer LLM‑generated glue code on top of that. More code, more surface area, less anyone truly understands. In that world, “we’ll catch it in tests” is wishful thinking, not a strategy.

We don’t live in 1998 anymore. We have languages that:

  • Make whole classes of bugs unrepresentable (Rust, TypeScript)
  • Give you memory safety and concurrency sanity by default (Rust, Go)
  • Provide static structure that both humans and LLMs can lean on as guardrails, not red tape

At this point, choosing C/C++ for safety‑critical paths, or dynamic languages for the core of a large system, isn’t just “old school.” It’s negligence with better marketing.

Use Rust, Go, or TypeScript for anything that actually matters. Use Python/JS at the edges, for scripts and prototypes.

For production, load‑bearing paths in 2025 and beyond, anything else is you saying, out loud:

“I’m okay with avoidable runtime failures and undefined behavior in my critical systems.”

Are you?

Comment:

Nonsense. If your code has reached the point of unmaintainable complexity, then blame the author, not the language.

  • bleistift2@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    48
    arrow-down
    4
    ·
    edit-2
    9 hours ago

    I agree with the post. Setting up typescript takes an hour or two if you have no clue what you’re doing. In return you get the absence of (the equivalent of) null pointer exceptions.

    I chuckle every time I find an NPE in the Java backend. Doesn’t happen to me. Can’t happen to me.

    Sidenote, while I’m already gloating: Once the backend code had an error where they were comparing two different kinds of IDs (think, user ID and SSN), which gave wrong results. This error can’t happen to me either, because I type my IDs such that they are not comparable. A strong type system really is a godsend.

    • glorkon@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      edit-2
      4 hours ago

      NPEs are the reason why my team moved to Kotlin. Well, that and all the other myriad advantages Kotlin brings to the table.

      • gedhrel@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        55 minutes ago

        Lombok had a bunch of great things that should’ve been part of the java language to begin with. They’ve slowly been folded in (so now you have to work out which @NotNull annotation you want) but the language does still improve.

      • bleistift2@sopuli.xyz
        link
        fedilink
        English
        arrow-up
        1
        ·
        3 hours ago

        One of the backend devs started using Kotlin. From time to time I need to read backend code, and I have to say it’s very easy to write an incomprehensible mess in Kotlin.

        • glorkon@lemmy.world
          link
          fedilink
          arrow-up
          2
          ·
          3 hours ago

          Kotlin isn’t perfect and it gives the devs quite a lot of freedom. I would argue that if your Kotlin code is messy, that’s on you - but it will still be significantly less prone to failures like NPEs. Unless you opt out of null safety by using the dreaded ?-Operator.

      • qaz@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        3 hours ago

        I really like how I can turn everything into immutable val’s and represent different paths as expressions, it can IMO really reduce the complexity of a function and makes it easier to spot bugs. I’ve been migrating some code of a FOSS app to Kotlin and was able to shrink most classes by like 30% while making it easier to read. The only thing I dislike about it is the additional syntax for various things, I could do without having multiple ways to write a constructor.

        • glorkon@lemmy.world
          link
          fedilink
          arrow-up
          2
          ·
          edit-2
          3 hours ago

          Yes, there are things about Kotlin I don’t love either. But I still like how it was clearly developed having developer quality-of-life in mind.

    • dan@upvote.au
      link
      fedilink
      arrow-up
      12
      ·
      edit-2
      8 hours ago

      Setting up typescript takes an hour or two if you have no clue what you’re doing

      Modern versions of Node.js have native TypeScript support. For scripts, you can just write the script then run it. That’s it. No build process needed. A beginner could just rely on type checking in their editor (I think VS Code has the TypeScript tooling installed by default?)

      For web apps, just use something like Bun or Deno. Bun gives you practically all the tooling you’d need (JS runtime, TypeScript, package manager, test runner, bundler, and framework for building web apps) out-of-the-box. It doesn’t have a formatter, but you can just use your editor’s formatter.

    • danhab99@programming.devOP
      link
      fedilink
      arrow-up
      8
      arrow-down
      12
      ·
      6 hours ago

      Recently I’ve just been getting co-pilot to do it

      I have an alias that calls the copilot CLI with a prompt that says “set up typescript”

      Fuck this

      • falseWhite@programming.dev
        link
        fedilink
        arrow-up
        5
        ·
        3 hours ago

        That’s like one of the few good uses for LLMs in development - setting up new projects, but AI haters will downvote you no matter what.

      • bleistift2@sopuli.xyz
        link
        fedilink
        English
        arrow-up
        1
        ·
        6 hours ago

        I’ve seen VSCode advertise this for setting up tests, but I haven’t been trusting enough to actually try it.

        Does it work consistently?