Stella Mariesmkou.hashnode.dev·Apr 15, 2024Herd Game: Code StructureWhy a herding game? I was reading the book, AI in Games by Ian Millington (2019). I didn't finish the book, getting through the first three chapters, which is not much if you check, just about 7%, but it is in my immediate queue for reading, apart fr...Discuss·1 likeJavaScript
Gourav Ghosalgg221b.hashnode.dev·Apr 12, 2024OOPs! An interview experience Part 1Context Back in the autumn of 2022, during university on-campus placements, I sat for the second round of my interview at Persistent Systems, which was one of my best interview experiences. A purely technical round for which I was expecting questions...DiscussProgramming Blogs
Nicolas Frugoniarchitecturewithnico.hashnode.dev·Mar 29, 2024The Case for UnidirectionalityIn this post, I will be discussing the benefits of a unidirectional flow of control architectures and how they can be applied to the Model-View-Presenter pattern. Unidirectional Flow of Control Unidirectional dataflow is a software architecture patte...Discussunidirectional
Nicolas Frugoniarchitecturewithnico.hashnode.dev·Mar 29, 2024Mastering Polymorphism: Unlock the Power of Clean Code💡 Heads up! This post delves into some more advanced topics and is best suited for experienced developers. Don't worry if some of the concepts are new to you, you can always come back to this post later as you gain more experience. But if you're up ...Discusspolymorphism
ssbhattaraishyam-sundar.com.np·Mar 26, 2024VueUse-Vue composable library that has collection of vue composition utilitiesVueUse is a collection of utility functions based on Composition API. To use this, you need to familiar with this concept. In the context of Vue applications, a “composable” is a function that leverages Vue’s Composition API to encapsulate and reuse ...Discuss·27 readsvue composition utilities
Sebastian Sellmairblog.sellmair.io·Mar 18, 2024Composition over Inheritance: My refactoring recipe"DRy", "KisS", "CLEAn", "SoLid". We all read these almost meaningless terms being thrown around in our code reviews. Whilst just mentioning some acronym never really seemed like a convincing argument to me, the intention of the reviewer was mostly al...Discuss·4 likes·3.8K readsKotlin
Chinmay Singhblog.singhch.in·Jan 7, 2024Why you should almost never use Abstract ClassesImagine rules like this one defining a landscape, where maintainable code lives in the valleys. As you add new behavior, it’s like rain landing on your code. Initially you put it wherever it lands. Then you refactor to allow the forces of good design...DiscussComposition over inheritance
Gabriele Buffolinobite-sized.hashnode.dev·Nov 16, 2023Inheritance vs composition: a fight against Egyptian godsWe all heard about the "favor composition over inheritance" mantra, but only a few have read Thoughtworks' article on the matter, by Steven Lowe. What I am going to do in this bite is to describe what would happen if this principle is ignored. Unfort...DiscussObject Oriented Programming
Gujarati Coderreactflux.hashnode.dev·Sep 23, 2023Composition vs InheritanceReact has a powerful composition model, and we recommend using composition instead of inheritance to reuse code between components. In this section, we will consider a few problems where developers new to React often reach for inheritance, and show h...DiscussReact
Mukesh Pareekmkshprk.hashnode.dev·Sep 14, 2023🚀 Demystifying Composition and Inheritance using Java! 🧙♂️💫Hey there, fellow developers! 🖥️ Let's unravel the magic of two fundamental concepts in Object-Oriented Programming (OOP): Composition and Inheritance, using a spellbinding example involving Wizards and Sorcerers in Java. 🪄📜 🌟 Composition - The A...DiscussJava