Anant Singh Raghuvanshianantraghuvanshi.hashnode.dev·May 25, 2024Top 9 Essential Design Patterns in Software EngineeringIntroduction Hello fellas! It's been so long since I wrote something on Hashnode. Again, I am sharing what I learned about the Top 9 Essential Design Patterns in Software Engineering. Design patterns are a crucial part of software engineering. They p...Purity Nzao and 1 other are discussing this2 people are discussing thisDiscuss·21 likes·69 readsdesign patterns
Vibhu Bankacodeseijin.dev·May 23, 2024Which looooop? [Part 1]There are numerous ways in which we can iterate over an appropriate data structure in JavaScript. Examples: for while do...while for...of for...in Array.prototype.forEach Array.prototype.map Time Complexity: All of these ways have a O(n) ti...DiscussJavaScript
Vishal Yadavninjacatcodeblogs.hashnode.dev·May 6, 2024Making Factory Pattern Extensible using Java ReflectionsIntroduction In the realm of software development, maintaining code that is both extensible and robust against frequent changes can be challenging. The Open/Closed Principle, a core tenet of SOLID design principles, states that software entities shou...DiscussJava
Harish Gautamharishgautam.hashnode.dev·May 3, 2024Dependency Inversion Principle (DIP) - JavascriptThe Dependency Inversion Principle (DIP) is one of the SOLID principles of object-oriented design. It suggests that high-level modules should not depend on low-level modules but should depend on abstractions, and both high-level and low-level modules...DiscussJavaScript
Harish Gautamharishgautam.hashnode.dev·May 3, 2024Interface Segregation Principle (ISP) - JavascriptThe Interface Segregation Principle (ISP) is one of the SOLID principles of object-oriented design. It suggests that no client should be forced to depend on methods it does not use. In other words, you should design your interfaces in a way that clie...DiscussJavaScript
Harish Gautamharishgautam.hashnode.dev·May 3, 2024Liskov Substitution Principle (LSP) - JavascriptThe Liskov Substitution Principle (LSP) is one of the SOLID principles of object-oriented design, which states that objects of a derived class should be able to replace objects of the base class without affecting the correctness of the program. In ot...DiscussJavaScript
Harish Gautamharishgautam.hashnode.dev·May 3, 2024Open-Closed Principle (OCP) - JavascriptThe Open-Closed Principle (OCP) is one of the SOLID principles of object-oriented design, and it encourages software components to be open for extension but closed for modification. This means that you should be able to extend the behavior of a modul...Discusslow level design
Harish Gautamharishgautam.hashnode.dev·May 3, 2024Single Responsibility Principle - JavascriptThe Single Responsibility Principle (SRP) is one of the SOLID principles of object-oriented programming, and it states that a class should have only one reason to change. In JavaScript, you can apply this principle by ensuring that a class or a modul...Discusslow level design
SOURAV BERAsouravtechzone.hashnode.dev·Feb 27, 202420 Essential Low-Level Design (LLD) MCQs for Software Developers: Test Your Knowledge!Which of the following principles promotes code reusability by allowing a new class to be created from an existing class? a) Encapsulation b) Abstraction c) Inheritance d) Polymorphism The correct answer is: c) Inheritance Explanation: Inheritance i...Discuss·11 likesLLD MCQs
Chetan Dattachetan77.hashnode.dev·Feb 21, 2024Prototype Design PatternIntroduction It is used when we have to copy/clone an existing object. Consider a scenario where we have an object obtained from a source, and its creation is costly. If we need to make minor modifications to this object for experimentation purposes,...DiscussLow Level Designprototype design pattern