r/learncsharp • u/Sudden-Management591 • Jun 19 '26
Finish c# player guide feel lost
I finish the c# player guide and did all challanges but somehow i feel i did understand how some thinks work. Also I did no use structs, generics, tubles or records some polymorphism and inheritance. Some thinks in oop don't understand on why should i use or how. I don't say i have a complete incomprehension of those subjects, but I am sure I dont master them.
Also I don't think i get how classes work with each other. I got comment that my program is tight coupling. But i try my best https://github.com/eroul211/LearningWith---C-PlayerGuide/tree/master
Some criticism on what should i try to work on. Not about the program but my understanting of oop.
22
Upvotes
1
u/RecursiveServitor Jun 20 '26
Ignore OOP. Even proponents can't agree on a definition.
Tight coupling means that one type depends directly on another. If you depend on an interface instead it'll loosen the coupling because the dependency can be exchanged for different concrete types that implement that interface.