This repository has been archived on 2022-11-20. You can view files and clone it, but cannot push or open issues or pull requests.
patterns/README.md

34 lines
1.1 KiB
Markdown
Raw Normal View History

2022-11-09 21:22:13 +00:00
# Паттерны проектирования на языке D
2022-11-09 19:44:53 +00:00
2022-11-11 09:54:25 +00:00
Паттерны проектирования по книге [Head First. Паттерны проектирования](https://ftp.zhirov.kz/books/IT/%D0%9F%D0%B0%D1%82%D1%82%D0%B5%D1%80%D0%BD%D1%8B/Head%20First.%20%D0%9F%D0%B0%D1%82%D1%82%D0%B5%D1%80%D0%BD%D1%8B%20%D0%BF%D1%80%D0%BE%D0%B5%D0%BA%D1%82%D0%B8%D1%80%D0%BE%D0%B2%D0%B0%D0%BD%D0%B8%D1%8F%20%28%D0%AD%D1%80%D0%B8%D0%BA%20%D0%A4%D1%80%D0%B8%D0%BC%D0%B5%D0%BD%2C%20%D0%AD%D0%BB%D0%B8%D0%B7%D0%B0%D0%B1%D0%B5%D1%82%20%D0%A0%D0%BE%D0%B1%D1%81%D0%BE%D0%BD%29%202022.pdf) ([исходный код на Java](Head-First-Design-Patterns-master.zip))
2022-11-09 21:22:13 +00:00
## Паттерны
2022-11-11 09:54:25 +00:00
### Поведенческие
2022-11-09 21:22:13 +00:00
1. [Стратегия](strategy/)
2022-11-10 13:28:55 +00:00
2. [Наблюдатель](observer/)
2022-11-14 19:45:14 +00:00
3. [Команда](command/)
2022-11-09 21:22:13 +00:00
2022-11-11 09:54:25 +00:00
### Структурные
1. [Декоратор](decorator/)
2022-11-11 22:22:12 +00:00
### Пораждающие
2022-11-13 00:59:35 +00:00
1. [Фабричный метод (Простая фабрика)](factorymethod/)
2. [Абстрактная фабрика](abstractfactory/)
2022-11-14 18:54:08 +00:00
3. [Одиночка](singleton/)
2022-11-11 22:22:12 +00:00
2022-11-09 21:22:13 +00:00
## Компиляция
```sh
dmd *.d
```
или
```sh
ldc2 *.d
```