O documento discute três pontos principais:
1) Otimização prematura é a raiz de todos os problemas, pois desperdiça tempo em partes não críticas que atrapalham manutenção.
2) Deve-se esquecer pequenas otimizações 97% do tempo, focando na entrega de valor ao cliente.
3) Simplicidade é essencial para maximizar o trabalho não feito.
3. Nomes bons
public class BATATINHA {
public static double[] To_a_fim_de_ir_na_praia(double mIGuXEixxX, double Bolacha, double LEITE) {
if (mIGuXEixxX == 0.0) {
throw new putzdeupipocomano("po bixo, isso num pode ser zero naum!!!!");
}
// cara, ela ta moh nervosa hoje! Aquela saia justa com o chefe foi tensa.
double hoje_a_martinha_ta_nervosa = Bolacha * Bolacha - 4 * LEITE * mIGuXEixxX;
if (hoje_a_martinha_ta_nervosa < 0.0) {
throw new putzdeupipocomano("xiiii a bagaça ta negativa");
}
// ontem fui no cinema ver o filme do batman. Kra, o filme é bom pra kct!
double variable114 = (-Bolacha + Math.sqrt(hoje_a_martinha_ta_nervosa)) / (2 * mIGuXEixxX);
double variable115 = (-Bolacha - Math.sqrt(hoje_a_martinha_ta_nervosa)) / (2 * mIGuXEixxX);
double[] AAAAA = new double[2];
AAAAA[0] = variable114;
AAAAA[1] = variable115;
// estou com fome agora, acho que vo pedi uma pizza!!!!!
return AAAAA;
}
}
10. “Continuous attention to technical
excellence and good design enhances
agility.”
– Agile Manifesto
“Atenção contínua à excelência
técnica e ao bom design
engrandecem a agilidade”
26. “Our highest priority is to satisfy the
customer through early and continuous
delivery of valuable software.”
– Agile Manifesto
“Nossa maior prioridade é satisfazer o cliente
através de entrega contínua e desde cedo
de software de valor.”
29. “Programmers waste enormous amounts of time
thinking about, or worrying about, the speed of
noncritical parts of their programs, and these attempts
at efficiency actually have a strong negative impact
when debugging and maintenance are considered. We
should forget about small efficiencies, say about 97%
of the time: premature optimization is the root of all
evil. Yet we should not pass up our opportunities in
that critical 3%.” – Donald E. Knuth
30. “Programmers waste enormous amounts of time
thinking about, or worrying about, the maintainability
of noncritical parts of their programs, and these
attempts at efficiency actually have a strong negative
impact when debugging and maintenance are
considered. We should forget about small efficiencies,
say about 97% of the time: premature optimization is
the root of all evil. Yet we should not pass up our
opportunities in that critical 3%.”
31. “Programmers waste enormous amounts of time
thinking about, or worrying about, the maintainability
of noncritical parts of their programs, and these
attempts at efficiency actually have a strong negative
impact when early delivery are considered. We should
forget about small efficiencies, say about 80% of the
time: premature optimization is the root of all evil. Yet
we should not pass up our opportunities in that critical
20%.”
– Lucas Cavalcanti
35. Quarto deploy com valor pro cliente
Terceiro deploy com valor pro cliente
Segundo deploy com valor pro cliente
Primeiro deploy com valor pro cliente
36.
37. Sétimo deploy com valor pro cliente
Sexto deploy com valor pro cliente
Quinto deploy com valor pro cliente
Quarto deploy com valor pro cliente
Terceiro deploy com valor pro cliente
Segundo deploy com valor pro cliente
Primeiro deploy com valor pro cliente
38.
39. “Simplicity – the art of maximizing the
amount of work not done – is essential.”
– Agile Manifesto
“Simplicidade – a arte de maximizar a
quantidade de trabalho não feito – é essencial”
40. “Programmers waste enormous amounts of time
thinking about, or worrying about, the maintainability
of noncritical parts of their programs, and these
attempts at efficiency actually have a strong negative
impact when early delivery are considered. We should
forget about small efficiencies, say about 80% of the
time: premature optimization is the root of all evil. Yet
we should not pass up our opportunities in that critical
20%.”