Upload
marcos-brizeno
View
231
Download
0
Embed Size (px)
Citation preview
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
QUEM PRECISA DE PADRÕES DE PROJETO HOJE EM DIA?
5
http://stackoverflow.com/questions/327955/does-functional-programming-replace-gof-design-patterns
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
QUEM PRECISA DE PADRÕES DE PROJETO HOJE EM DIA?
10http://www.c2.com/cgi/wiki?AreDesignPatternsMissingLanguageFeatures
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,439https://en.wikipedia.org/wiki/A_Pattern_Language
DE ONDE VIERAM PADRÕES DE PROJETO
16
PADRÕES SÃO: 1. UMA SOLUÇÃO
2. PARA UM PROBLEMA 3. DADO UM CONTEXTO
DE ONDE VIERAM PADRÕES DE PROJETO
18
+ David Rice,
Matthew Foemmel Edward Heatt
Rovert Mee Randy Stafford
2003
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
34
CÓDIGO LIMPOPADRÕES DE PROJETO
SOLID
TDDDOCUMENTADO
TESTÁVELEFICIENTE
LEGÍVEL
FUNCIONA
FÁCIL DE IMPLANTAR
INTEGRAÇÃO CONTÍNUA
PAREAR
MAS NEM TÃO JOVEM ASSIM
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