• Cold_Brew_Enema@lemmy.world
    link
    fedilink
    English
    arrow-up
    22
    ·
    2 months ago

    That’s how I feel during code review sometimes. Looking over someone’s code who is clearly way more experienced than me is interesting

    • Landless2029@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      ·
      2 months ago

      Same. I’ve been on both ends though.

      Where my peer is either above or below my skill level.

      So low they can’t read it. So high thier shit would be 3x longer than mine…

      • Aurenkin@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        2
        ·
        2 months ago

        In a similar sense to another comment on here having a more junior person read your code can be quite valuable too. If they can’t understand it, it could be a risk and it might be worth thinking about ways to simplify it. Not that it’s always going to be possible but still helpful to know that it’s a maintainability risk.

        • Landless2029@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          ·
          2 months ago

          Yeah what I’ve done with a junior is basically read through the logic of my code to ensure I didn’t miss any steps.