cross-posted from: https://lemmy.world/post/45602294

Hello All

I am someone who graduated some time back and was not able to score their first job in the field. I am recently getting back into programming a bit more as a hobby. In particular I am toying around with Rust and a bit of C#.

Was wondering what books you all used for data and algo class? It would be good if you know some with those languages in mind, but otherwise just a book that is more generic would be great too.

  • SailorFuzz@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    14 days ago

    Depends on what you’re doing, programming wise. Structures and Algos is good if you’re doing a lot of foundational, ground-up work. But most times (like 90%) you’ll just use a library for those structures. If you really, really need a RedBlackTree (you dont), you’re probably not going to build it yourself. I mean you can, but it’s probably better (and safer) to import a library for it. It’s more important to know their use-cases rather than how to build them.

    I would argue, that if you’re want to learn something functional, I would study up on Design Patterns. Especially for C#.

    Structures/Algos are the tools, Patterns are what to build with the tools.

    Best book, long term, is probably: Design Patterns: Elements of Reusable Object-Oriented Software I have it, use it. It’s great as a reference, but it’s also very “textbook”.

    I actually recommend: Game Programming Patterns it covers almost all the same patterns as the above. But, it’s written with a functional “game” usecase standpoint, which makes it easier to comprehend and get through.

    • InternetCitizen2@lemmy.worldOP
      link
      fedilink
      arrow-up
      0
      ·
      14 days ago

      Depends on what you’re doing, programming wise. Structures and Algos is good if you’re doing a lot of foundational, ground-up work.

      True. I guess to be a bit more clear its a bit more for its own sake to built the brain muscle of sorts.

      Thank you for the links. I do love a yummy textbook.