• Yondoza@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    88
    ·
    6 months ago

    I honestly needed to hear this today, so thank you. I’m at work trying to work out someone else’s uncommented code and have just been staring at it mumbling to myself. I’m new to the position so I’m anxious my new coworkers will think I’m just dicking around… This is the validation I needed. Thanks everyone!

    • kersploosh@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      68
      ·
      6 months ago

      Say out loud to yourself, “What the hell is this?” or, “Why did they do it this way?” once in a while. Everyone around will think you know exactly what you’re doing.

    • ElCanut@jlai.lu
      link
      fedilink
      English
      arrow-up
      8
      ·
      6 months ago

      From what I learned in my workplace, it seems that for most people the best way to appear competent is to continuously criticize the work of your colleagues

    • daddy32@lemmy.world
      link
      fedilink
      English
      arrow-up
      5
      ·
      edit-2
      6 months ago

      I don’t know your circumstances, but it is usually OK to just ask. Especially if the original author is around. Don’t do it all the time and you’ll be OK. Even can come with positive image out of it, if you ask the right questions.

      Other than that, I found that the current llms like ChatGPT (and perhaps Claude) are very good at explaining code, most of the time, for some languages ;)

      • Yondoza@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        4
        ·
        6 months ago

        Hey, thanks for your concern. I’m asking tons of questions, don’t worry. Unfortunately the last 3 keepers of this code are no longer around to ask, thus the staring at code.

        • nephs@lemmygrad.ml
          link
          fedilink
          English
          arrow-up
          2
          ·
          6 months ago

          Sounds like, at the very least, a yellow flag to me. Be aware that there may be other stuff broken in their processes other than legacy code. :)