Filter
Exclude
Time range
-
Near
🚫 Say goodbye to the headaches of inheritance and hello to the simplicity of composition! 🌐 Embrace modular design for cleaner, more flexible code. Avoid the pitfalls of tight coupling and tangled hierarchies. #CodeWisdom #CompositionOverInheritance 🚀
1
147
📢 New blog post: "The pitfalls of OOP's inheritance: Why simple isn't always better" Are you still using heavy inheritance in your OOP projects? #CodingTips #OOP #SoftwareEngineering #CompositionOverInheritance 🖼️ Image: unsplash.com/@gabrielsanchez 🧵 The link 👇 [1/2]
1
1
146
No more `providedIn:Root` 🥰 DI is baked in the framework through `inject` 💪 No need to jump through hoops to retrieve canMatch input data 🧘 What's not to love ? 💞 #CompositionOverInheritance
Here is a small snippet to demonstrate to skeptical #Angular developers that deprecating the guard as a service in favor of the functional guard is the right decision. ✅better DX ✅less error-prone ✅more reusable ✅less boilerplate code ✅easier to read
6
293
Thinking back to university, first semester, #OOP was the big thing and if you find a way to inherit something you are the OOP hero. Today for me #Composition is the big thing and mostly OOP is really not what I need, almost never #inheritance it is. #CompositionOverInheritance
Conway: "what 3 decades of teaching oop has told me is that almost every problem goes away if you don't do inheritance" #wke2018
2
Why would I need to override it? Maybe the majority of the "perfect implementation" is fine for the use case? That class with its private scopes may have a lot of logic. Too much logic? Keep your classes small to promote #compositionOverInheritance.
2
Replying to @brunoaybarg
You right, that's why I am learning functional programming. #compositionOverInheritance
1
1
7 May 2017
#microservices further validates #CompositionOverInheritance Why so many devs still believe in rigid #OOP hierarchies?#softwarearchitecture
28 Apr 2016
Still love this blog post: "Inheritance is evil and must be destroyed": blog.berniesumption.com/soft… #programming #compositionoverinheritance

1
Got my Turret behaviour Interfaces in and missile turrets up and running, now for the rest! #CompositionOverInheritance #gamedev
2
3
this is why you need composition over inheritance... :s #CompositionOverInheritance
8
242
188