---
title: "Comment by Lionel Owono on \"Design Pattern :  Builder\" | Hashnode"
description: "Hello good article, can you please explain de difference with factory pattern ?"
url: "https://hashnode.com/posts/design-pattern-builder/660cff0a17f8896b8b481d8d/comment/660d4696c703f55f72dee4fd"
---

[Discussion](https://hashnode.com/posts/design-pattern-builder/660cff0a17f8896b8b481d8d)

Comment [Design Pattern : Builder](https://hashnode.com/posts/design-pattern-builder/660cff0a17f8896b8b481d8d)

[Lionel Owono](https://hashnode.com/@lionelsan)

[Apr 3, 2024](https://hashnode.com/posts/design-pattern-builder/660cff0a17f8896b8b481d8d/comment/660d4696c703f55f72dee4fd)

Hello good article, can you please explain de difference with factory pattern ?

[jean joel Ntepp](https://hashnode.com/@nameksoft)

[Apr 3, 2024](https://hashnode.com/posts/design-pattern-builder/660cff0a17f8896b8b481d8d/comment/660d4696c703f55f72dee4fd#reply-660d5fde2ee17ec83e73a88d)

Hi Lionel, thanks for interacting.

Both patterns belong to the family of object construction patterns. The Factory pattern is useful when you want to create different types of objects from a class (a dedicated factory). The Factory class generally relies on conditions to determine which type of object to build.

It's the expression "different types of objects" that marks the difference between the two patterns. In the case of the Builder, built objects are always of the same type.

[Lionel Owono](https://hashnode.com/@lionelsan)

[Apr 5, 2024](https://hashnode.com/posts/design-pattern-builder/660cff0a17f8896b8b481d8d/comment/660d4696c703f55f72dee4fd#reply-660ff16d8324a8375390312f)

[jean joel Ntepp](https://hashnode.com/@nameksoft)

Thanks for you answer.
