• gravitas_deficiency@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    56
    arrow-down
    1
    ·
    17 hours ago

    Jesus fucking christ the interns who have neither seen nor heard of COBOL have also not encountered the concept of a sentinel value used as a fallback/default.

      • AA5B@lemmy.world
        link
        fedilink
        arrow-up
        4
        ·
        10 hours ago

        Date time types have long since been based on a 64 bit number , at least in Linux. However the old 32 bit date time types are still there so older programs won’t break, and probably on emdpbedded systems.p. So it comes down to the apps: how many old apps or old embedded systems will still be around?

        • PieMePlenty@lemmy.world
          link
          fedilink
          arrow-up
          3
          ·
          9 hours ago

          How many cobol systems are still around in 2025. If it works, don’t fix it. And I have a feeling a lot of things will need fixing in 2038 lol

          • AA5B@lemmy.world
            link
            fedilink
            arrow-up
            3
            ·
            8 hours ago

            It will be interesting to see that play out. The thing is the 238 prboem spas long been solved just like the y2k problem was.

            The Linux datetime types were moved to 64 bit values long ago, so this problem is thousands of years out. The old 32 bit values was a limitation of older systems not handling larger values, but almost all hardware today is either 64 bit or has hardware support for 64 bit data. You mainly have some older embedded systems

            But the legacy 32 bit APIs are still there so it doesn’t break backward compatibility. You have huge ecosystems of software that still use these APIs and may still handle datelines as 32bit. There’s no way to find them all, much less make sure they’ve been updated.

            Just like y2k, 2038 will have been a long solved issue, that may still exist due to ancient or poorly written applications. All you can do is a huge effort of trying everything to find any remaining issues before they cause problems. I’m optimistic because y2k was a problem cased by every application handling their own dates, whereas for 2038 its cause was in an underlying data type that has long since been fixed. Surely all applications will have been rebuilt to the new API in that 20 year or so period, right? Right?

            • Randelung@lemmy.world
              link
              fedilink
              arrow-up
              3
              ·
              7 hours ago

              I expect governments to set up own time servers and reset it to 1970 before upgrading their old Win XP machines.

    • sasquatch7704@lemmy.world
      link
      fedilink
      arrow-up
      11
      ·
      edit-2
      13 hours ago

      What do you expect? most of the guys in “DOGE” weren’t even alive on 9/11 I’m a bit surprised that they still have something in COBOL, maintenance probably costs o fortune, good luck finding young COBOL devs

      • JackbyDev@programming.dev
        link
        fedilink
        English
        arrow-up
        6
        ·
        12 hours ago

        I’m ready to learn COBOL. I will take up the torch. If you know good places to start, let me know. Last time I looked into it it seems way more involved than running stuff like Python, Java, and C.

        • sasquatch7704@lemmy.world
          link
          fedilink
          arrow-up
          4
          ·
          11 hours ago

          I see, you want that that Lamorghini, well if you really want udemy is always a good start. Personally the difficult part for me when learning a new programing language is not resources, it’s the motivation to keep do it and I usually need a real project to work on. (10 years + dev)

          Usually you find on github “awesome-XYZ” repos (ex: awesome python, awesome c, awesome go), but for cobol, most of the projects are dead

          https://github.com/loveOSS/awesome-cobol?tab=readme-ov-file#email

      • andros_rex@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        10 hours ago

        Is being a COBOL dev something that can get you jobs?

        I’m pretty good at FORTRAN and would love that kind of “you have invaluable skills so we can’t get rid of you for being queer” gig.

        • sasquatch7704@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          1 hour ago

          It’s a niche, most of the companies use something more modern, easier to find devs, but there are still some that have to mentain that old code while they probably at the same time try to replace it with some other more common language (Java, C++, Rust, Go), I think it’s still used by some legacy systems in governments and financial institutions

          It’s like knowing an extinct language, most of the time is useless, but if someone needs your skills they better pay good for it.