2. O QUE VAMOS CONVERSAR HOJE
Quem precisa de padrões de projeto hoje em dia?
De onde vieram padrões de projeto
A jovem área do Desenvolvimento de Software
Mas nem tão jovem assim
Padrões de projeto são superestimados?
2
8. QUEM PRECISA DE PADRÕES DE PROJETO HOJE EM DIA?
8
http://programmers.stackexchange.com/questions/89273/
where-are-all-the-functional-programming-design-patterns
13. DE ONDE VIERAM PADRÕES DE PROJETO
13
https://en.wikipedia.org/wiki/A_Pattern_Language
1977
14. DE ONDE VIERAM PADRÕES DE PROJETO
14
"The street cafe provides a unique setting, special to cities: a
place where people can sit lazily, legitimately, be on view, and
watch the world go by... Encourage local cafes to spring up in
each neighborhood. Make them intimate places, with several
rooms, open to a busy path, where people can sit with coffee
or a drink and watch the world go by. Build the front of the
cafe so that a set of tables stretch out of the cafe, right into
the street."
— Christopher Alexander et al., A Pattern Language, p. 437,439
https://en.wikipedia.org/wiki/A_Pattern_Language
22. A JOVEM ÁREA DO DESENVOLVIMENTO DE SOFTWARE
22
1965 - Uso do termo Software Engineering
1968 - Crise do Software
1990 - Rede mundial de computadores
2001 - Agile Manifesto
1940 - Máquina de Turing
23. A JOVEM ÁREA DO DESENVOLVIMENTO DE SOFTWARE
23
AINDA NÃO DÁ PRA SABER
O QUE DÁ CERTO
24. A JOVEM ÁREA DO DESENVOLVIMENTO DE SOFTWARE
24
http://arxiv.org/pdf/1502.03526v1.pdf
32. A JOVEM ÁREA DO DESENVOLVIMENTO DE SOFTWARE
32
AINDA NÃO DÁ PRA SABER
O QUE DÁ CERTO
33. A JOVEM ÁREA DO DESENVOLVIMENTO DE SOFTWARE
33
MAS DA PRA SABER O QUE
NÃO DÁ CERTO DE JEITO
NENHUM
34. 34
CÓDIGO LIMPO
PADRÕES DE PROJETO
SOLID
TDD
DOCUMENTADO
TESTÁVEL
EFICIENTE
LEGÍVEL
FUNCIONA
FÁCIL DE IMPLANTAR
INTEGRAÇÃO CONTÍNUA
PAREAR
MAS NEM TÃO JOVEM ASSIM
37. A JOVEM ÁREA DO DESENVOLVIMENTO DE SOFTWARE
37
Padrões de projeto são uma tentativa de estabelecer
uma coletânea destes conhecimentos.
- Hugo Corbucci, prefácio de Refatorando com Padrões de Projeto