I rather write garage code than using slop

  • PotatoesFall@discuss.tchncs.de
    link
    fedilink
    arrow-up
    2
    ·
    2 hours ago

    algorithms and data structures are overrated IMO. No average programmer is manually writing sorting algorithms or reversing linked lists. And if you do need something like that, you can just google it

    • JackbyDev@programming.dev
      link
      fedilink
      English
      arrow-up
      1
      ·
      53 minutes ago

      On the one hand, I get you, but on the other hand, a lot of math people aren’t doing by hand, but it’s still important for a foundational understanding.

    • Buddahriffic@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      2 hours ago

      Even if you aren’t implementing them directly, it can help to just understand how a library you’re using implements them. Most data structures have scenarios where they are the best option and other scenarios where they are the worst option. Which one you pick can be the difference between an operation taking under a second vs minutes or hours. Hell, even if you pick the correct structures overall but layer them poorly, you can see a difference like that.

      It’s like adding an understanding of engineering to woodworking skills. Sure, a carpenter could probably build a house frame on their own, but it takes engineering knowledge to minimize the amount of wood used while still being sure that it won’t fall over if the wind gusts to 100 km/h or it snows during winter.