• essteeyou@lemmy.world
    link
    fedilink
    arrow-up
    8
    ·
    edit-2
    1 day ago

    An old phrase that’s stuck with me over the years, although I forget where I heard it:

    I like it when my code works first time. It’s like Christmas, but less often.

    • Chais@sh.itjust.works
      link
      fedilink
      arrow-up
      6
      ·
      2 days ago

      I have that with Rust quite frequently. At least a lot more often than with any other language. I love it!

      • flashgnash@lemm.ee
        link
        fedilink
        arrow-up
        3
        ·
        1 day ago

        I think it’s just because rust doesn’t let you make many of the mistakes that’d normally lead to runtime errors

        Pair that with rustcheck in your ide and the only errors you’ll see will be ones you define yourself

  • eldavi@lemmy.ml
    link
    fedilink
    English
    arrow-up
    6
    arrow-down
    14
    ·
    2 days ago

    i start everything i do w chatgpt and it’s twice given me a dummy function/method that immediately worked and this was my reaction both times. lol

    it shipped both times and not even the senior guys caught it in any of the peer reviews before it reached the clients; it’s been almost a year for the first one and they’re still happy w it. 🤷

      • ReakDuck@lemmy.ml
        link
        fedilink
        arrow-up
        7
        ·
        2 days ago

        I mean, chatgpt can easily create basic code without issues.

        But as soon as you desire something more it might fall apart and then there is where dumb luck comes in.

        • eldavi@lemmy.ml
          link
          fedilink
          English
          arrow-up
          1
          ·
          2 days ago

          these were somewhere between basic and difficult, which is why i start with chatgpt; it’s gets you past the basic part more quickly.

      • eldavi@lemmy.ml
        link
        fedilink
        English
        arrow-up
        2
        arrow-down
        6
        ·
        edit-2
        2 days ago

        very much so and it’s painted my impression of the people who have SO MUCH more experience and talent than i do; since they’re expected to catch & correct it.

        it’s also helped me immensely when i pointed out to them that they missed its implicit insecurity after our peer reviews and i’m know that it pissed some of them off.

        • expr@programming.dev
          link
          fedilink
          arrow-up
          6
          ·
          2 days ago

          Reviewers are not infallible and are largely focused on the meat of the MR rather than every single detail.

          It reflects much more poorly on you than it does on them.

          • eldavi@lemmy.ml
            link
            fedilink
            English
            arrow-up
            1
            arrow-down
            6
            ·
            edit-2
            2 days ago

            it’s more a reflection of my experience and their stereotypical blind spots:

            the IT work that i did before becoming a developer has taught me to succeed by placing emphasis on delivering on time and with minimal maintainability to the exclusion of everything else and it verbally sits poorly with the more privileged engineers that i work with; but they do the same thing obliviously nonetheless. like you, they make assumptions based on who they think you are without realizing that they’re the same way.

            their insistence that they own all aspects of the peer reviews; plus management’s insistence that we acquiesce to them despite seeing blind spots in the review process; plus their unwillingness to listen to someone who doesn’t fit into the in-group allows for this to happen and i’m only allowed to voice my concerns when prompted to like a soldier in the implicit security example that i shared.

            developers are just a screwy as everyone else and the ones that management help to drink their own bathwater is creating a world where new developers will have to be likewise privileged to even be allowed in, in the future; i know that the ivory tower developers believe that this is a good thing, but this disconnect with reality is fueling the socioeconomic gaps that let people like trump win elections and ruin things for everyone.