---
title: "设计模式创建型模式应用场景"
author: "17studio"
date: "2009-10-12T16:05:58Z"
tags: []
slug: "untitled"
draft: false
lastmod: "2009-10-12T16:05:58Z"
id: 486135
url: "https://17studio.iteye.com/blog/486135"
---

创建型模式常用的是factory、builder和prototype，用于抽象和简化

singleton模式用于管理有限资源（有限资源常常需要解决并发问题，实现时需要注意）