profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013
TRANSCRIPT
![Page 1: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/1.jpg)
Profissão Programador: Práticas para
Melhoria Contínua
Unimonte - Outubro 2013
Agatha LisboaGabriel Rubens
[email protected] / @gabrielrubenss
![Page 2: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/2.jpg)
Profissão Programador: Práticas para
Melhoria Contínua
![Page 3: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/3.jpg)
De onde vem a
palavra pragmático?
![Page 4: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/4.jpg)
O foco da palestra é ajudar
programadores a se tornarem melhores
![Page 5: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/5.jpg)
Não importa se você trabalha sozinho, em
equipe ou com muitos clientes
![Page 6: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/6.jpg)
Programar é uma arte, e Programar é uma arte, e como programador você é como programador você é
um artesãoum artesão
![Page 7: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/7.jpg)
Transformar requisitos vagos em
um programa. Documentar seu
trabalho
![Page 8: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/8.jpg)
![Page 9: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/9.jpg)
Ferramentas Ferramentas milagrosasmilagrosas
![Page 10: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/10.jpg)
Metodologias Metodologias que resolvem que resolvem
todos os todos os problemasproblemas
![Page 11: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/11.jpg)
Linguagens de Linguagens de Programação Programação pra todas as pra todas as
situaçõessituações
![Page 12: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/12.jpg)
Sistemas Sistemas Operacionais Operacionais
que são que são melhores que melhores que
os outrosos outros
![Page 13: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/13.jpg)
Não existe bala de prata!Não existe bala de prata!
![Page 14: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/14.jpg)
Não há uma solução que resolva todos os
problemas.
![Page 15: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/15.jpg)
Existem ferramentas/
linguagens/SOs apropriados para
cada situação
![Page 16: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/16.jpg)
Dica :)
Reflita sobre seu trabalho.
![Page 17: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/17.jpg)
Bibliografia
![Page 18: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/18.jpg)
![Page 19: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/19.jpg)
Uma Filosofia Pragmática
![Page 20: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/20.jpg)
O que diferencia programadores pragmáticos?
![Page 21: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/21.jpg)
O gato comeu meu código-fonte
![Page 22: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/22.jpg)
Assuma responsabilidade
![Page 23: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/23.jpg)
Dica :)
Forneça soluções e não desculpas
esfarrapadas.
![Page 24: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/24.jpg)
EntropiaEntropiaee
DDeterioração do eterioração do softwaresoftware
![Page 25: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/25.jpg)
Teoria da janela Teoria da janela quebradaquebrada
![Page 26: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/26.jpg)
Apagando incêndiosApagando incêndios
![Page 27: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/27.jpg)
Dica :)
Não tolere janelas quebradas
![Page 28: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/28.jpg)
Software Satisfatório
![Page 29: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/29.jpg)
Envolva os usuários na tomada de
decisões
![Page 30: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/30.jpg)
Dica :)
Torne qualidade parte dos requisitos
![Page 31: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/31.jpg)
Software funcionando é a medida primária
de progresso
![Page 32: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/32.jpg)
Programação como uma pintura
![Page 33: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/33.jpg)
Ciência + arte + trabalho manual
![Page 34: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/34.jpg)
Saiba quando parar
![Page 35: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/35.jpg)
![Page 36: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/36.jpg)
MVCMVC
![Page 37: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/37.jpg)
Carteira de conhecimentos
![Page 38: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/38.jpg)
Semelhante ao gerenciamento de
uma carteira de investimentos
![Page 39: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/39.jpg)
Construindo uma carteira
![Page 40: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/40.jpg)
Dica :)
Invista regularmente em
sua carteira de conhecimentos
![Page 41: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/41.jpg)
Dica :)
Analise criticamente o que você vê e
ouve
![Page 42: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/42.jpg)
Comunicação
![Page 43: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/43.jpg)
![Page 44: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/44.jpg)
Conheça o que vai dizer
![Page 45: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/45.jpg)
Conheça pra quem Conheça pra quem vai dizervai dizer
![Page 46: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/46.jpg)
Escolha o momento certo
![Page 47: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/47.jpg)
Seja Seja ouvinteouvinte
![Page 48: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/48.jpg)
Dica :)Dica :)
Não é o que você diz Não é o que você diz e a maneira como e a maneira como
dizdiz
![Page 49: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/49.jpg)
Uma Abordagem Pragmática
![Page 50: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/50.jpg)
Males da duplicação
![Page 51: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/51.jpg)
Conceito de manutenção
![Page 52: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/52.jpg)
Dica :)
NSR - Não Se Repita
DRY - Don't Repeat Yourself
![Page 53: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/53.jpg)
Tipos de duplicação
![Page 54: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/54.jpg)
Duplicação imposta
![Page 55: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/55.jpg)
Dica :)
Facilite a reutilização
![Page 56: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/56.jpg)
Ortogonalidade
![Page 57: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/57.jpg)
Conceito emprestado da
geometria
![Page 58: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/58.jpg)
Sistema ortogonal
![Page 59: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/59.jpg)
Dica :)
Elimine efeitos entre elementos não relacionados
![Page 60: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/60.jpg)
ReversibilidadeReversibilidade
![Page 61: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/61.jpg)
Dica :)
Não há decisões definitivas
![Page 62: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/62.jpg)
Projéteis Projéteis LuminososLuminosos
![Page 63: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/63.jpg)
Código Rastreador
![Page 64: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/64.jpg)
Dica :)
Use projéteis luminosos para
encontrar seu alvo
![Page 65: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/65.jpg)
Programe Igual ao Domínio do Usuário
![Page 66: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/66.jpg)
Dica :)
Programe em um nível próximo ao
domínio do problema (usuário)
![Page 67: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/67.jpg)
![Page 68: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/68.jpg)
![Page 69: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/69.jpg)
Estimando
![Page 70: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/70.jpg)
Dica :)
Estime para evitar surpresas
![Page 71: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/71.jpg)
Que nível de exatidão é
suficientemente exato?
![Page 72: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/72.jpg)
Entenda o que está sendo pedido
![Page 73: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/73.jpg)
Acompanhe sua habilidade de
estimar
![Page 74: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/74.jpg)
Dica :)
Reexamine o cronograma junto
ao código
![Page 75: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/75.jpg)
O que dizer quando lhe pedirem uma
estimativa?
![Page 76: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/76.jpg)
Refine sempre essa estimativa
![Page 77: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/77.jpg)
Seja Seja FlexívelFlexível
![Page 78: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/78.jpg)
Quadros-Negros
![Page 79: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/79.jpg)
A melhor forma de se comunicar é visualmente
![Page 80: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/80.jpg)
![Page 81: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/81.jpg)
![Page 82: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/82.jpg)
![Page 83: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/83.jpg)
![Page 84: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/84.jpg)
Enquanto Você Está Codificando
![Page 85: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/85.jpg)
Programação Baseada no Acaso
![Page 86: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/86.jpg)
![Page 87: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/87.jpg)
Programar é uma tarefa que envolve muita habilidade e
raciocínio
![Page 88: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/88.jpg)
Quando você não Quando você não presta presta AtençãoAtenção no no que está fazendo!que está fazendo!
(mesmo que você seja muito bom)(mesmo que você seja muito bom)
![Page 89: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/89.jpg)
Refatoração
![Page 90: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/90.jpg)
Refatorar é melhorar um código existente
sem alterar o seu funcionamento
![Page 91: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/91.jpg)
RefatoraçãoRefatoração
![Page 92: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/92.jpg)
Quando Refatorar?
![Page 93: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/93.jpg)
![Page 94: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/94.jpg)
-Código duplicado-Método longo-Classe grande
-Lista de parâmetros longa-Má indentação
E muito mais!
![Page 95: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/95.jpg)
Dica :)
Refatore cedo, refatore sempre
![Page 96: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/96.jpg)
Código Que Seja Fácil de Testar
![Page 97: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/97.jpg)
Testando as Unidades
![Page 98: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/98.jpg)
Devemos ter o hábito de testar
unitariamente nosso software
(procure o xUnit da sua linguagem favorita)
![Page 99: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/99.jpg)
Testando a Integração entre os
Componentes
![Page 100: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/100.jpg)
Testando a Carga que seu Sistema
Suporta
![Page 101: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/101.jpg)
Dica :)
Teste seu software ou seus usuários testarão
![Page 102: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/102.jpg)
![Page 103: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/103.jpg)
Programadores Profissionais
Escrevem Testes, Ponto Final
http://blog.fragmental.com.br/2007/10/31/programadores-profissionais-escrevem-testes-ponto-final/
![Page 104: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/104.jpg)
Existem várias camadas de teste.
Aprenda para saber quais são necessárias
para seu problema
![Page 105: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/105.jpg)
![Page 106: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/106.jpg)
Dica :)
Projete para testar
![Page 107: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/107.jpg)
Assistentes do Mal
![Page 108: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/108.jpg)
Dica :)
Não use um código de
assistente que você não entender
![Page 109: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/109.jpg)
Antes do Projeto
![Page 110: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/110.jpg)
O Abismo dos Requisitos
![Page 111: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/111.jpg)
1970...[...]ironicamente, Royce defendia um abordagem
iterativa para o desenvolvimento de
software e nem mesmo usou o termo cascata[...]
![Page 112: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/112.jpg)
[...]Royce originalmente descreve o que é hoje
conhecido como o modelo em cascata como
um exemplo de um método que ele
argumentava ser um risco e um convite para
falhas[...]
![Page 113: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/113.jpg)
![Page 114: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/114.jpg)
![Page 115: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/115.jpg)
RUP você pega toda a documentação no
início.
![Page 116: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/116.jpg)
RUP você pega toda a documentação no início.
Agile você não documenta nada.
![Page 117: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/117.jpg)
RUP você pega toda a documentação no início.Agile você não documenta nada.
Será mesmo!?
![Page 118: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/118.jpg)
P.: RUP você pega toda a documentação no início?
R.: Isso é cascata!
P.: Agile você não documenta nada.
R.: Não há isso em lugar nenhum!
![Page 119: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/119.jpg)
Dica :)
Trabalhe com usuário para
pensar como um usuário
![Page 120: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/120.jpg)
Dica :)
Abstração tem vida mais longa do
que detalhes
![Page 121: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/121.jpg)
Projetos Pragmáticos
![Page 122: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/122.jpg)
Uma visão geral de como ser Pragmático
![Page 123: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/123.jpg)
Uma visão geral de como ser uma equipe
Pragmático
![Page 124: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/124.jpg)
Dica :)
Sem janelas quebradas
![Page 125: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/125.jpg)
Dica :)
Comunique-se
![Page 126: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/126.jpg)
Dica :)
Não se repita
![Page 127: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/127.jpg)
Dica :)
Automação
![Page 128: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/128.jpg)
Dica :)
Saiba quando parar de adicionar
retoques
![Page 129: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/129.jpg)
Dica :)
Teste!
O melhor amigo do Programador
![Page 130: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/130.jpg)
Dica :)
Seja um catalizador de
mudanças
![Page 131: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/131.jpg)
Sopas de pedras
![Page 132: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/132.jpg)
Dica :)
Lembre-se do cenário em larga
escala
![Page 133: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/133.jpg)
Sapos cozidos
![Page 134: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/134.jpg)
![Page 135: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/135.jpg)
RUP, XP, Scrum,
Kanban e etc...
![Page 136: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/136.jpg)
Pratique!Pratique!
![Page 137: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/137.jpg)
DOJOSDOJOS
![Page 138: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/138.jpg)
![Page 139: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/139.jpg)
![Page 140: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/140.jpg)
Programe!Programe!Programe!
![Page 141: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/141.jpg)
Pra quem só tem martelo todo
problema é um prego!
![Page 142: Profissao-programador-praticas-para-melhoria-continua-unimonte-outubro-2013](https://reader031.vdocuments.mx/reader031/viewer/2022020218/55939e511a28abe97f8b4689/html5/thumbnails/142.jpg)
Profissão Programador: Práticas para
Melhoria Contínua
Unimonte - Outubro 2013
Agatha LisboaGabriel Rubens
[email protected] / @gabrielrubenss