• ma1w4re@lemmy.zip
    link
    fedilink
    arrow-up
    10
    ·
    2 days ago

    Same. Feel like I really gotta create a small library with examples of different stuff for each language I use.

    • Rhaedas@fedia.io
      link
      fedilink
      arrow-up
      9
      ·
      1 day ago

      I already have that. It’s the old code, and I always find myself looking back to pull snippets because I don’t remember how my genius in the past did it. But that’s how you’re supposed to do it anyway, right? Why reinvent the wheel.

      • Ephera@lemmy.ml
        link
        fedilink
        English
        arrow-up
        3
        ·
        1 day ago

        Yeah, when I’m well in training with a language, there’s certainly a magnitude more stuff that I know off the top of my head, but what really makes the difference is that I know where to look up how to do something and what libraries to pull in.

        You don’t need to remember everything to the point, where you could reproduce it without looking anything up. It’s much more important to have a pattern in your head, so that when you do look things up, you can piece back together how it worked from that information you find online.