• emb@lemmy.world
    link
    fedilink
    arrow-up
    82
    ·
    edit-2
    11 days ago

    Nice touch making Months plural and Day singular.

    I also like how Wednessecond isn’t going to be the end of the list, trailing comma is there.

    Cursed.

  • ByteJunk@lemmy.world
    link
    fedilink
    arrow-up
    36
    ·
    11 days ago

    Really curious in what scenarios people would be writing enums with months and weekdays.

    Because short of developing yet another library to handle date and time, everything else is likely a disaster waiting to happen…

    • 6nk06@sh.itjust.works
      link
      fedilink
      arrow-up
      20
      ·
      11 days ago

      A lot of developers are not passionate, or not curious, or don’t know that libraries exist, or all at once (aka stupid). I’ve seen this everywhere.

      • naught101@lemmy.world
        link
        fedilink
        arrow-up
        19
        ·
        11 days ago

        The developer who was there when I started my last job believed that libraries should be avoided at all costs. He wrote a CSV reader from scratch in python. It didn’t work in many edge cases. He didn’t like it when I pointed that out. Nor when I showed him that his “better way” in another case was more than 10x slower using a profiler… At least he was using git, but the git history was full of long series of identical commit messages unrelated to code changes, because PyCharm has an option to reuse the previous commit message on a new commit…

        He eventually quit and I spent 3 years refactoring his garbage before we finally had a tech team who could take over (I’m a scientist, with self taught coding skills). Pretty sure even after we had a tech team of 7 if was still a better coder than most, purely because I was interested in how coding works, and trying to understand underlying concepts.

        • Zink@programming.dev
          link
          fedilink
          arrow-up
          17
          ·
          11 days ago

          because I was interested in how coding works, and trying to understand underlying concepts

          Ah, yes. The secret to being better than most people at at most things. Curiosity and giving a shit.

          • someacnt@sh.itjust.works
            link
            fedilink
            English
            arrow-up
            6
            ·
            11 days ago

            My impostor syndrome is saying that I suck at everything, I just got curiosity to get over some of it…

            • Zink@programming.dev
              link
              fedilink
              arrow-up
              2
              ·
              10 days ago

              I am convinced that impostor syndrome is just the other end of the spectrum from the Dunning-Kruger effect.

              That doesn’t necessarily mean that having impostor syndrome means you’re an expert, but that you have the curiosity to look under the surface and get a glimpse of the long path ahead of you. You don’t just assume you “got this” because one piece of many clicked into place.

              I guess my strong impostor syndrome has mellowed over these past 5 or so years while I have been working on myself (as in mental health, not job skills, lol). Some of it is confidence gained by knowing better who I am and what I want out of life, accompanied by elimination of a lot of “I should be learning this / doing that / building my career XYZ” thoughts. And part of it is leaning into what makes me different from others at work versus the others, using that stuff as strengths rather than seeing them as deficiencies where I don’t match up.

            • polle@feddit.org
              link
              fedilink
              arrow-up
              2
              ·
              10 days ago

              It will when you realize the people in your room are mostly talking but actually have no clue.

    • deadbeef79000@lemmy.nz
      link
      fedilink
      arrow-up
      7
      ·
      10 days ago

      Wrapping a blackbox/legacy system would be a good reason.

      Declare the old API in your new language, warts’n’all.

    • dogs0n@sh.itjust.works
      link
      fedilink
      arrow-up
      40
      ·
      11 days ago

      Maybe the more copilot is used, the more code on github is ai garbage, ths more copilot trains on github, the worse it gets.

      Probably quite a lot of other things too, but I haven’t used it so I don’t know if it has got worse.

      • Valmond@lemmy.world
        link
        fedilink
        arrow-up
        5
        ·
        10 days ago

        Yeah I remember the hype floating in the air when someone showed the magic AI writing a scan all files and folders recursively code in python. The result was like of a first year student, which is kind of incredible in itself to be fair, but it’s also just the result like of a first year student so…