---
title: "Discussion on \"Factory Method Design Pattern - Pros 'n' Cons\" | Hashnode"
description: "Discussion on \"Factory Method Design Pattern - Pros 'n' Cons\". PROS:\n\nEncapsulation: It encapsulate object creation logic, which helps reducing complex code and improves maintainability.\n\nDecoupling: It decouples the client code from the specific classes being instantiated. Clients only need to know common inter..."
url: "https://hashnode.com/posts/factory-method-design-pattern-pros-n-cons/6666eae96605e9cf4c71d85c"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Factory Method Design Pattern - Pros 'n' Cons](https://preethisblog.hashnode.dev/factory-method-design-pattern-pros-n-cons?utm_source=hashnode&utm_medium=feed)

PROS: Encapsulation: It encapsulate object creation logic, which helps reducing complex code and improves maintainability. Decoupling: It decouples the client code from the specific classes being instantiated. Clients only need to know common inter...

Jun 10, 2024 · 2 min read · preethisblog.hashnode.dev  
Updated Jun 12, 2024  
Read the article

-   [#devops](https://hashnode.com/tag/devops)
-   [#software-architecture](https://hashnode.com/tag/software-architecture)
-   [#development](https://hashnode.com/tag/development)
-   [#design-patterns](https://hashnode.com/tag/design-patterns)
-   [#architecture-design](https://hashnode.com/tag/architecture-design)
-   [#spring-framework](https://hashnode.com/tag/spring-framework)
-   [#java](https://hashnode.com/tag/java)

## Written by

[Preethika S](https://hashnode.com/@Preethi07)

@Preethi07 · Bangalore , India

  
[View profile](https://hashnode.com/@Preethi07)

Passion for Devops and Automation

Hello people 😎 , This is Preethi from Bangalore 🏠 Holding an undergraduate Degree in Batchelor of science in CS and Electronics from Nrupatunga University - Bangalore Completed Java-Full stack and Devops - AWS courses from JSpiders Training institute -Bangalore Currently I'm a Junior Software Engineer @Techvito - Bangalore

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
