• SorteKanin ( SorteKanin@feddit.dk ) 
    link
    fedilink
    arrow-up
    17
    ·
    11 months ago

    Eh, as funny as this is, I can’t agree that programming peaked with Java. In fact, much of this is just a rant about JavaScript, not about much else.

    VSCode can easily do cross-file renames if you write Rust. Rust is kind of peak programming if you ask me, and it’s modern and still new. I don’t feel programming has peaked yet tbh.

    • Eh rust still has issues in some domains, e.g., when cyclic data is appropriate. You can do it, but it’s annoying. To me, Haskell is really peak programming, but I know that’s opinionated and most won’t agree.

      Vscode can do cross-file renames in pretty much any language. An LSP that doesn’t support this is not doing its job.

      • SorteKanin ( SorteKanin@feddit.dk ) 
        link
        fedilink
        arrow-up
        5
        ·
        11 months ago

        Eh rust still has issues in some domains, e.g., when cyclic data is appropriate

        This might be but then again I’ve been writing Rust for several years and have yet to actually run into this problem. The borrow checker definitely places certain restrictions on what kind of stuff you can do (for good reasons!). Once you know how it works, your brain starts writing the code in advance to fit how the borrow checker likes it and it becomes second nature and a total non issue.

        Of course this is part of the reason Rust has a bit of a learning curve, which is fair. But any good sophisticated tool meant for professionals requires proper training and knowledge.

        • Yeah it depends what you’re doing. I do a lot of circuit modeling where different subsystems need to talk to each other. The solutions are either Rcs (and a bunch of custom drop logic) or a parent struct holding all the others. Both are awkward. But in other programming domains I’ve found rust pleasant.

          • TehPers ( TehPers@beehaw.org ) 
            link
            fedilink
            English
            arrow-up
            2
            ·
            11 months ago

            What might benefit you here is a proper GC. There are a few libraries to do this in Rust, though I don’t have any good recommendations since I haven’t needed this myself yet.

    • codeinabox ( codeinabox@programming.dev ) OP
      link
      fedilink
      English
      arrow-up
      11
      ·
      11 months ago

      The way the author described programming in 2025 did make me chuckle, and I do think he makes some excellent points in the process.

      It’s 2025. We write JavaScript with types now. It runs not just in a browser, but on Linux. It has a dependency manager, and in true JavaScript style, there’s a central repository which anyone can push anything to. Nowadays it’s mostly used to inject Bitcoin miners or ransomware onto unsuspecting servers, but you might find a useful utility to pad a string if you need it.

      In order to test our application, we build it regularly. On a modern computer, with approximately 16 cores, each running at 3 GHz, TypeScript only takes a few seconds to compile and run.

  • spy ( spy@lemmy.dbzer0.com ) 
    link
    fedilink
    English
    arrow-up
    12
    ·
    11 months ago

    Good write up. I agree with several points

    And it pains me too that everything is damn electron. Can we please go back to writing stuff that doesn’t require that?

    I don’t mind an old style interface. Hell, in many cases I’ll welcome it with open arms. Modern UI is not necessarily better. Both tech wise and also style wise.

  • TehPers ( TehPers@beehaw.org ) 
    link
    fedilink
    English
    arrow-up
    7
    ·
    11 months ago

    I miss the days when it was simpler as well. Back before there were botnets with hundreds of thousands of compromised routers across several countries that could send tens of terabytes per second of data to your server for a sustained period of time. Back before there were thousands of bots crawling every IP and domain imaginable for exposed, abusable ports and wp-admin endpoints. Back before people started to compete in how many 9s of uptime they supported (before killing that all with LLMs anyway).

    Sadly, we can’t go back to those times. Doing so with a production service would not end well.

    The issue is not npm. Npm is a solution to a problem, even if it isn’t perfect.

    The issue is we live in a different landscape.

    Eclipse was great, having used it in the past, but its features are not exclusive to Eclipse. I can do the same inlining and extracting of code in vscode with code actions. The compile times weren’t seconds for me in the past, but they are for me now. Vite helps that even more (though that’s comparing JS to Java).