• Fizz@lemmy.nz
    ·
    1 year ago

    No matter how many times I read this I have no idea what's going on. Can someone explain this like I'm 3

    • Infamousblt [any]
      ·
      edit-2
      1 year ago

      The line of code (well, documentation in the code) used to look like something like this (I'm not sure if this formatting will work on mobile, sorry):

      The code ends with an s

      ----------------------

      And after her changes it looks like this:

      The code ends with an s

      ------------------------

      See how I added an extra - in that second line? That makes the S happier because now it also has a - below it like all the other letters. This also just generally makes that line more consistent with other spots in the code. So it's not a bad change. It doesn't do anything really but making your code format nice, easy to read, and consistent is usually important in programming so although it doesn't do anything tangible it's still a valuable change!

  • SootyChimney [any]
    ·
    1 year ago

    Though slightly cliche, this just feels right. That niece has learned a great lesson about how collaborating to improve things is always possible, and that open-source relies on everyone doing their bit.

    • ReakDuck@lemmy.ml
      ·
      1 year ago

      Welcome to Open Source software where its ok to help once and never again. Thats actually not even a bad thing.

      Imagine there is this one project that kicks everyones autism and has many issues. But only a team of 100 people is allowed to change its code. I'd rather want the world to change the code and make it improve for everyones liking. Even if it was just one commit and never again.