• petrol_sniff_king@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    1
    ·
    4 days ago

    I look at my old code all the time.

    If you keep things organized and well documented, its poor quality really shouldn’t bother that much.

    • da_cow (she/her)@feddit.org
      link
      fedilink
      English
      arrow-up
      2
      arrow-down
      1
      ·
      4 days ago

      While that’s true and I do document my code, I still get the urge to rewrite big parts of it. In the end I will in fact rewrite it, but that’s because I want to turn the original version of the code into a more general system that I can then use for my future work/projects.

      • petrol_sniff_king@lemmy.blahaj.zone
        link
        fedilink
        English
        arrow-up
        3
        arrow-down
        1
        ·
        4 days ago

        As long as you’re doing this for fun/function and not because you’re embarrassed, then that’s fine. :p I wrote my own tween library in javascript purely because that just sounded like a great weekend, haha.

        • da_cow (she/her)@feddit.org
          link
          fedilink
          English
          arrow-up
          1
          arrow-down
          1
          ·
          3 days ago

          I will turn it into a general system for two reasons:

          1: Because I know I can rewrite my old code in much better quality

          2: Because this is something that I and my work colleagues may need regularly, so we dont have to rewrite it from scratch every time.