You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
149 lines
4.2 KiB
149 lines
4.2 KiB
<!doctype html> |
|
<html lang="en"> |
|
|
|
<head> |
|
<meta charset="utf-8"> |
|
|
|
<title>Boas Práticas de Programação</title> |
|
|
|
<meta name="author" content="Julio Biason"> |
|
|
|
<meta name="apple-mobile-web-app-capable" content="yes" /> |
|
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" /> |
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"> |
|
|
|
<link rel="stylesheet" href="_external/reveal.min.css"> |
|
<link rel="stylesheet" href="_external/default.css" id="theme"> |
|
|
|
<!-- For syntax highlighting --> |
|
<link rel="stylesheet" href="_external/zenburn.css"> |
|
|
|
<!-- If the query includes 'print-pdf', include the PDF print sheet --> |
|
<script> |
|
if( window.location.search.match( /print-pdf/gi ) ) { |
|
var link = document.createElement( 'link' ); |
|
link.rel = 'stylesheet'; |
|
link.type = 'text/css'; |
|
link.href = '_external/pdf.css'; |
|
document.getElementsByTagName( 'head' )[0].appendChild( link ); |
|
} |
|
</script> |
|
|
|
<!--[if lt IE 9]> |
|
<script src="reveal.js/lib/js/html5shiv.js"></script> |
|
<![endif]--> |
|
|
|
<style> |
|
.semi-opaque { |
|
background-color: rgba(0, 0, 0, 0.7); |
|
} |
|
|
|
* { |
|
hyphens: none !important; |
|
-moz-hyphens: none !important; |
|
} |
|
</style> |
|
</head> |
|
|
|
<body> |
|
|
|
<div class="reveal"> |
|
<!-- Any section element inside of this container is displayed as a slide --> |
|
<div class="slides"> |
|
<section data-background='_images/best-practices.jpg'> |
|
<h1 class='semi-opaque'>Boas Práticas de Programação</h1> |
|
</section> |
|
|
|
<section> |
|
<h2>Quem sou eu?</h2> |
|
<aside class='notes'>Explicar porque me ouvir.</aside> |
|
</section> |
|
|
|
<section> |
|
<h2>Padrões, Lints e convenções</h2> |
|
</section> |
|
|
|
<section> |
|
<h2>TDD</h2> |
|
<aside class='notes'>Meio plug para agile: Test cases dos |
|
cases definidos anteriormente.</aside> |
|
<aside class='notes'>Test case vs unit testing.</aside> |
|
<aside class='notes'>O problema dos mocks.</aside> |
|
</section> |
|
|
|
<section> |
|
<h2>Testes e Abstrações</h2> |
|
<aside class='notes'>A história do Ruby camp das 99 garrafas |
|
de cerveja na parede.</aside> |
|
</section> |
|
|
|
<section> |
|
<h2>Documentação e Comentários</h2> |
|
<aside class='notes'>Pra que serve um e pra que serve o outro.</aside> |
|
<aside class='notes'>Quanto documentar.</aside> |
|
</section> |
|
|
|
<section> |
|
<h2>McCabe e Complexidade Ciclomática</h2> |
|
<aside class='notes'>Thomas J. McCabe Sr, 1976</aside> |
|
</section> |
|
|
|
<section> |
|
<h2>DRY</h2> |
|
</section> |
|
|
|
<section> |
|
<h2>Liquidificador: DRY, documentação, McCabe</h2> |
|
<aside class='notes'>Adicionar comentários para o que fazer, |
|
transformar comentários em código.</aside> |
|
</section> |
|
|
|
<section> |
|
<h2>Logging</h2> |
|
<aside class='notes'>Por que, quando, níveis e custos.</aside> |
|
</section> |
|
|
|
<section> |
|
<h2>Olhe Para os Lados</h2> |
|
<aside class='notes'> |
|
"A programming language that doesn't |
|
change the way you think is not worth |
|
learning." |
|
Alan Perlis |
|
</aside> |
|
</section> |
|
</div> |
|
</div> |
|
|
|
<script src="_external/head.min.js"></script> |
|
<script src="_external/reveal.min.js"></script> |
|
|
|
<script> |
|
|
|
// Full list of configuration options available here: |
|
// https://github.com/hakimel/reveal.js#configuration |
|
Reveal.initialize({ |
|
controls: true, |
|
progress: true, |
|
history: true, |
|
center: true, |
|
|
|
theme: 'night', |
|
transition: 'linear', |
|
|
|
// Optional libraries used to extend on reveal.js |
|
dependencies: [ |
|
{ src: '_external/classList.js', condition: function() { return !document.body.classList; } }, |
|
{ src: '_external/marked.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } }, |
|
{ src: '_external/markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } }, |
|
{ src: '_external/highlight.js', async: true, callback: function() { hljs.initHighlightingOnLoad(); } }, |
|
{ src: '_external/zoom.js', async: true, condition: function() { return !!document.body.classList; } }, |
|
{ src: '_external/notes.js', async: true, condition: function() { return !!document.body.classList; } } |
|
] |
|
}); |
|
|
|
</script> |
|
|
|
</body> |
|
</html>
|
|
|