39
PADRÕES DE PROJETO SUPERESTIMADOS? @MarcosBrizeno

Padrões de projeto superestimados

Embed Size (px)

Citation preview

PADRÕES DE PROJETO SUPERESTIMADOS?

@MarcosBrizeno

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?

3

QUEM PRECISA DE PADRÕES DE PROJETO HOJE EM DIA?

4

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?

6

QUEM PRECISA DE PADRÕES DE PROJETO HOJE EM DIA?

7

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?

9

QUEM PRECISA DE PADRÕES DE PROJETO HOJE EM DIA?

10http://www.c2.com/cgi/wiki?AreDesignPatternsMissingLanguageFeatures

QUEM PRECISA DE PADRÕES DE PROJETO HOJE EM DIA?

11http://www.norvig.com/design-patterns/

DE ONDE VIERAM OS PADRÕES DE PROJETO

12

DE ONDE VIERAM PADRÕES DE PROJETO

13https://en.wikipedia.org/wiki/A_Pattern_Language1977

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

15

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

17

1994

DE ONDE VIERAM PADRÕES DE PROJETO

18

+ David Rice,

Matthew Foemmel Edward Heatt

Rovert Mee Randy Stafford

2003

DE ONDE VIERAM PADRÕES DE PROJETO

19

DE ONDE VIERAM PADRÕES DE PROJETO

20

A JOVEM ÁREA DO DESENVOLVIMENTO DE SOFTWARE

21

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

A JOVEM ÁREA DO DESENVOLVIMENTO DE SOFTWARE

23

AINDA NÃO DÁ PRA SABER O QUE DÁ CERTO

A JOVEM ÁREA DO DESENVOLVIMENTO DE SOFTWARE

24http://arxiv.org/pdf/1502.03526v1.pdf

A JOVEM ÁREA DO DESENVOLVIMENTO DE SOFTWARE

25

A JOVEM ÁREA DO DESENVOLVIMENTO DE SOFTWARE

26

A JOVEM ÁREA DO DESENVOLVIMENTO DE SOFTWARE

27

A JOVEM ÁREA DO DESENVOLVIMENTO DE SOFTWARE

28

A JOVEM ÁREA DO DESENVOLVIMENTO DE SOFTWARE

29

FAKE IT 'TIL YOU MAKE IT

A JOVEM ÁREA DO DESENVOLVIMENTO DE SOFTWARE

30

1986

1975

MAS NEM TÃO JOVEM ASSIM

31

A JOVEM ÁREA DO DESENVOLVIMENTO DE SOFTWARE

32

AINDA NÃO DÁ PRA SABER O QUE DÁ CERTO

A JOVEM ÁREA DO DESENVOLVIMENTO DE SOFTWARE

33

MAS DA PRA SABER O QUE NÃO DÁ CERTO DE JEITO

NENHUM

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

MAS NEM TÃO JOVEM ASSIM

35

PADRÕES DE PROJETO SÃO SUPERESTIMADOS?

36

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

A JOVEM ÁREA DO DESENVOLVIMENTO DE SOFTWARE

38

OBRIGADO!