Código
-
Upload
elcio-ferreira -
Category
Technology
-
view
1.752 -
download
3
description
Transcript of Código
![Page 1: Código](https://reader033.fdocumentos.tips/reader033/viewer/2022060119/5590b0a31a28abf5058b45f4/html5/thumbnails/1.jpg)
visie.com.br 1========================
![Page 2: Código](https://reader033.fdocumentos.tips/reader033/viewer/2022060119/5590b0a31a28abf5058b45f4/html5/thumbnails/2.jpg)
visie.com.br 2========================
Programador, o que você faz todo dia?
![Page 3: Código](https://reader033.fdocumentos.tips/reader033/viewer/2022060119/5590b0a31a28abf5058b45f4/html5/thumbnails/3.jpg)
visie.com.br 3========================
![Page 5: Código](https://reader033.fdocumentos.tips/reader033/viewer/2022060119/5590b0a31a28abf5058b45f4/html5/thumbnails/5.jpg)
visie.com.br 5========================
![Page 6: Código](https://reader033.fdocumentos.tips/reader033/viewer/2022060119/5590b0a31a28abf5058b45f4/html5/thumbnails/6.jpg)
visie.com.br 6========================
Você não é pago para escrever código, é pago para resolver problemas.
![Page 7: Código](https://reader033.fdocumentos.tips/reader033/viewer/2022060119/5590b0a31a28abf5058b45f4/html5/thumbnails/7.jpg)
visie.com.br 7========================
1. Escreva menos
2. Escreva uma vez só
3. Escreva rápido
![Page 8: Código](https://reader033.fdocumentos.tips/reader033/viewer/2022060119/5590b0a31a28abf5058b45f4/html5/thumbnails/8.jpg)
visie.com.br 8========================
* Escreva menos *
![Page 9: Código](https://reader033.fdocumentos.tips/reader033/viewer/2022060119/5590b0a31a28abf5058b45f4/html5/thumbnails/9.jpg)
========================
![Page 10: Código](https://reader033.fdocumentos.tips/reader033/viewer/2022060119/5590b0a31a28abf5058b45f4/html5/thumbnails/10.jpg)
visie.com.br 10========================
- Seu framework / biblioteca
![Page 11: Código](https://reader033.fdocumentos.tips/reader033/viewer/2022060119/5590b0a31a28abf5058b45f4/html5/thumbnails/11.jpg)
visie.com.br 11========================
- Exemplo: jQuery
![Page 12: Código](https://reader033.fdocumentos.tips/reader033/viewer/2022060119/5590b0a31a28abf5058b45f4/html5/thumbnails/12.jpg)
========================
![Page 13: Código](https://reader033.fdocumentos.tips/reader033/viewer/2022060119/5590b0a31a28abf5058b45f4/html5/thumbnails/13.jpg)
visie.com.br 13========================
- Dados X Algoritmos
![Page 14: Código](https://reader033.fdocumentos.tips/reader033/viewer/2022060119/5590b0a31a28abf5058b45f4/html5/thumbnails/14.jpg)
========================
function build(status,data){ if(status=="format") return formatData(data) if(status=="reverse") return reversed(data) if(status=="send") return commit(data) if(status=="refuse") return refuse(data)}
![Page 15: Código](https://reader033.fdocumentos.tips/reader033/viewer/2022060119/5590b0a31a28abf5058b45f4/html5/thumbnails/15.jpg)
========================
builders={ format: formatData, reverse: reversed, send: commit, refuse: refuse }
function build(status,data){ if(builder[status]) return builder[status](data)}
![Page 16: Código](https://reader033.fdocumentos.tips/reader033/viewer/2022060119/5590b0a31a28abf5058b45f4/html5/thumbnails/16.jpg)
visie.com.br 16========================
* Escreva uma vez só *
![Page 17: Código](https://reader033.fdocumentos.tips/reader033/viewer/2022060119/5590b0a31a28abf5058b45f4/html5/thumbnails/17.jpg)
========================
![Page 18: Código](https://reader033.fdocumentos.tips/reader033/viewer/2022060119/5590b0a31a28abf5058b45f4/html5/thumbnails/18.jpg)
visie.com.br 18========================
- Padrões web e reuso
![Page 19: Código](https://reader033.fdocumentos.tips/reader033/viewer/2022060119/5590b0a31a28abf5058b45f4/html5/thumbnails/19.jpg)
========================
- Exemplo: listamatic
![Page 20: Código](https://reader033.fdocumentos.tips/reader033/viewer/2022060119/5590b0a31a28abf5058b45f4/html5/thumbnails/20.jpg)
========================
<div id="navcontainer"><ul id="navlist"> <li id="active"><a href="#" id="current">Item one</a></li> <li><a href="#">Item two</a></li> <li><a href="#">Item three</a></li> <li><a href="#">Item four</a></li> <li><a href="#">Item five</a></li></ul></div>
![Page 21: Código](https://reader033.fdocumentos.tips/reader033/viewer/2022060119/5590b0a31a28abf5058b45f4/html5/thumbnails/21.jpg)
========================
![Page 22: Código](https://reader033.fdocumentos.tips/reader033/viewer/2022060119/5590b0a31a28abf5058b45f4/html5/thumbnails/22.jpg)
========================
![Page 23: Código](https://reader033.fdocumentos.tips/reader033/viewer/2022060119/5590b0a31a28abf5058b45f4/html5/thumbnails/23.jpg)
========================
![Page 24: Código](https://reader033.fdocumentos.tips/reader033/viewer/2022060119/5590b0a31a28abf5058b45f4/html5/thumbnails/24.jpg)
========================
![Page 25: Código](https://reader033.fdocumentos.tips/reader033/viewer/2022060119/5590b0a31a28abf5058b45f4/html5/thumbnails/25.jpg)
========================
![Page 26: Código](https://reader033.fdocumentos.tips/reader033/viewer/2022060119/5590b0a31a28abf5058b45f4/html5/thumbnails/26.jpg)
========================
![Page 27: Código](https://reader033.fdocumentos.tips/reader033/viewer/2022060119/5590b0a31a28abf5058b45f4/html5/thumbnails/27.jpg)
========================
![Page 28: Código](https://reader033.fdocumentos.tips/reader033/viewer/2022060119/5590b0a31a28abf5058b45f4/html5/thumbnails/28.jpg)
========================
![Page 29: Código](https://reader033.fdocumentos.tips/reader033/viewer/2022060119/5590b0a31a28abf5058b45f4/html5/thumbnails/29.jpg)
========================
![Page 30: Código](https://reader033.fdocumentos.tips/reader033/viewer/2022060119/5590b0a31a28abf5058b45f4/html5/thumbnails/30.jpg)
========================
![Page 31: Código](https://reader033.fdocumentos.tips/reader033/viewer/2022060119/5590b0a31a28abf5058b45f4/html5/thumbnails/31.jpg)
========================
![Page 32: Código](https://reader033.fdocumentos.tips/reader033/viewer/2022060119/5590b0a31a28abf5058b45f4/html5/thumbnails/32.jpg)
========================
![Page 33: Código](https://reader033.fdocumentos.tips/reader033/viewer/2022060119/5590b0a31a28abf5058b45f4/html5/thumbnails/33.jpg)
========================
![Page 34: Código](https://reader033.fdocumentos.tips/reader033/viewer/2022060119/5590b0a31a28abf5058b45f4/html5/thumbnails/34.jpg)
========================
![Page 35: Código](https://reader033.fdocumentos.tips/reader033/viewer/2022060119/5590b0a31a28abf5058b45f4/html5/thumbnails/35.jpg)
========================
![Page 36: Código](https://reader033.fdocumentos.tips/reader033/viewer/2022060119/5590b0a31a28abf5058b45f4/html5/thumbnails/36.jpg)
========================
- "Bibliotecando" algoritmos comuns
![Page 37: Código](https://reader033.fdocumentos.tips/reader033/viewer/2022060119/5590b0a31a28abf5058b45f4/html5/thumbnails/37.jpg)
========================
- Código que escreve código
![Page 38: Código](https://reader033.fdocumentos.tips/reader033/viewer/2022060119/5590b0a31a28abf5058b45f4/html5/thumbnails/38.jpg)
========================
- Exemplo: web.py + SQLObject + lasagna
![Page 39: Código](https://reader033.fdocumentos.tips/reader033/viewer/2022060119/5590b0a31a28abf5058b45f4/html5/thumbnails/39.jpg)
========================
- Controle de versão
![Page 40: Código](https://reader033.fdocumentos.tips/reader033/viewer/2022060119/5590b0a31a28abf5058b45f4/html5/thumbnails/40.jpg)
========================
![Page 41: Código](https://reader033.fdocumentos.tips/reader033/viewer/2022060119/5590b0a31a28abf5058b45f4/html5/thumbnails/41.jpg)
========================
![Page 42: Código](https://reader033.fdocumentos.tips/reader033/viewer/2022060119/5590b0a31a28abf5058b45f4/html5/thumbnails/42.jpg)
========================
- Backup
![Page 43: Código](https://reader033.fdocumentos.tips/reader033/viewer/2022060119/5590b0a31a28abf5058b45f4/html5/thumbnails/43.jpg)
========================
* Escreva rápido *
![Page 44: Código](https://reader033.fdocumentos.tips/reader033/viewer/2022060119/5590b0a31a28abf5058b45f4/html5/thumbnails/44.jpg)
========================
![Page 45: Código](https://reader033.fdocumentos.tips/reader033/viewer/2022060119/5590b0a31a28abf5058b45f4/html5/thumbnails/45.jpg)
========================
- Seu editor de código
![Page 46: Código](https://reader033.fdocumentos.tips/reader033/viewer/2022060119/5590b0a31a28abf5058b45f4/html5/thumbnails/46.jpg)
========================
- Digitação
![Page 47: Código](https://reader033.fdocumentos.tips/reader033/viewer/2022060119/5590b0a31a28abf5058b45f4/html5/thumbnails/47.jpg)
visie.com.br 47========================
![Page 48: Código](https://reader033.fdocumentos.tips/reader033/viewer/2022060119/5590b0a31a28abf5058b45f4/html5/thumbnails/48.jpg)
visie.com.br 48========================
- testes automáticos
![Page 49: Código](https://reader033.fdocumentos.tips/reader033/viewer/2022060119/5590b0a31a28abf5058b45f4/html5/thumbnails/49.jpg)
========================
- como você testa seu código? - e quando você faz manutenção?
![Page 50: Código](https://reader033.fdocumentos.tips/reader033/viewer/2022060119/5590b0a31a28abf5058b45f4/html5/thumbnails/50.jpg)
visie.com.br 50========================
- meça!
![Page 51: Código](https://reader033.fdocumentos.tips/reader033/viewer/2022060119/5590b0a31a28abf5058b45f4/html5/thumbnails/51.jpg)
========================
![Page 52: Código](https://reader033.fdocumentos.tips/reader033/viewer/2022060119/5590b0a31a28abf5058b45f4/html5/thumbnails/52.jpg)
visie.com.br 52========================
* Pense *
![Page 53: Código](https://reader033.fdocumentos.tips/reader033/viewer/2022060119/5590b0a31a28abf5058b45f4/html5/thumbnails/53.jpg)
visie.com.br 53========================
* Dúvidas? *