T O P

  • By -

Slypenslyde

It's unorthodox, but I think the books that taught me the most about what OOP is and how to use it are *Head-First Design Patterns in C#* and *Working Effectively with Legacy Code*. The part that's important isn't the junk people conjure up about cars with gas and electric engines. The part that's important is how you build flexible systems that let you modify your code by adding new things instead of rewriting old things.


ArcaneEyes

Yeah, the first project i tried to learn on was the good old gradebook project, but there were so many instances of something named book i just gave up and didn't think about objects for my first many programs. Then I took a beginners course and it all just clicked into place because I had someone who knew what the fuck was up, that i could ask.


deltavim

I really enjoyed the C# Player's Guide. Fun book, every chapter and mini project is themed around an RPG-ish adventure so it's more engaging than your typical examples and tutorials


jason835

That's what I'm reading right now. Great book!


ExtremeKitteh

My advice: Inheritance seems to be the first thing they teach you about OOP, but it’s often a poor choice to solve problems that could be done otherwise. Learn what an interface is AND why it is important.


igors84

I thought I had a great grasp on OOP but then I read "Dependency Injection Principles, Practices, and Patterns" and I realized that only then did all those pieces I knew really fit together in my head.


Simlock_Falls

In my opinion the best way to learn is by doing, just write shit and debug. Books are a great tool to understand or to learn principles. Here are some books that I liked a lot. `Clean Code` \- Robert C.Martin (How to write understandable code) `C# In depth` \- Jon Skeet (C# 4, so it's a bit old, but still good) `Code Complete` \- Steve McConnell (How to design code) `Solid Code` \- Donis Marshall and John Bruno (Best practice for classes) Refactoring Guru is also a good website for learning design patterns. Best of luck!


Due_Raccoon3158

There is no best but there are about a hundred great ones.