• BrianTheeBiscuiteer@lemmy.world
    link
    fedilink
    English
    arrow-up
    59
    arrow-down
    4
    ·
    2 years ago

    Jokes aside, nothing wrong with rewriting in Java. It is well-suited for this kind of thing.

    Rewriting it in anything without fully understanding the original code (the fact they think 150yo are collecting benefits tells me they don’t) is the biggest mistake here. I own codebases much smaller than the SSA code and there are still things I don’t fully understand about it AND I’ve caused outages because of it.

    • deranger@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      16
      ·
      2 years ago

      Non programmer but skilled with computers type guy here: what makes Java well suited for this?

      This is probably an incorrect prejudice of mine, but I always thought those old languages are simpler and thus faster. Didn’t people used to rip on Java for being inefficient and too abstracted?

      Last language I had any experience with was C++ in high school programming class in the early 2000s, so I’m very ignorant of anything modern.

        • deranger@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          10
          ·
          2 years ago

          Why is there a need to rewrite it at all? Is it because COBOL is basically ancient hieroglyphics to modern programmers thus making it hard to maintain or update?

          • BrianTheeBiscuiteer@lemmy.world
            link
            fedilink
            English
            arrow-up
            18
            ·
            2 years ago

            They want to make buttloads of money from a rewrite, and it would cost buttloads to do this. They probably also want things to run like shit and cause misery for retired Americans.

          • jacksilver@lemmy.world
            link
            fedilink
            English
            arrow-up
            9
            ·
            2 years ago

            Refactoring a code base is kinda like general maintenance for the application. Over time deprecated features, temp fixes, etc. start to be a lot of the code base. By cleaning things up you can make it more maintainable, efficient, etc.

            That being said, for systems this large you usually fix up parts of it and iterate over time. Trying to do the whole code base is hard cause it’s like replacing the engine while the car is in motion.

      • nfh@lemmy.world
        link
        fedilink
        English
        arrow-up
        9
        ·
        2 years ago

        The way Java is practically written, most of the overhead (read: inefficient slowdown) happens on load time, rather than in the middle of execution. The amount of speedup in hardware since the early 2000s has also definitely made programmers less worried about smaller inefficiencies.

        Languages like Python or JavaScript have a lot more overhead while they’re running, and are less well-suited to running a server that needs to respond quickly, but certainly can do the job well enough, if a bit worse compared to something like Java/C++/Rust. I suspect this is basically what they meant by Java being well-suited.

      • BrianTheeBiscuiteer@lemmy.world
        link
        fedilink
        English
        arrow-up
        3
        ·
        2 years ago

        Other than hardware issues, which someone else mentioned, it has a lot of enterprise-grade functionality that make it more secure and auditable than a lot of other languages. And despite, or maybe because of, its large memory footprint it’s actually faster than most languages.

        I totally get any hate about writing Java though. It is a verbose language. Using Kotlin instead helps with that.