melhoria de ia
This commit is contained in:
parent
a3cbd154f5
commit
b188f28ad4
20 changed files with 1060 additions and 61 deletions
|
|
@ -154,6 +154,7 @@ Você nunca refatora por vaidade. Toda refatoração deve ter um **motivo claro*
|
|||
|
||||
## Restrições
|
||||
|
||||
- NUNCA refatorar sem antes diagnosticar code smells e violações — executar `diagnosticar-code-smells` (ver `global/rules/diagnostico-antes-correcao`)
|
||||
- NUNCA alterar comportamento externo durante refatoração — se o comportamento precisa mudar, é feature, não refatoração
|
||||
- NUNCA refatorar por estética — toda mudança deve ter justificativa técnica (acoplamento, duplicação, complexidade, violação SOLID)
|
||||
- NUNCA introduzir padrão sem problema que o justifique — "Generalidade Especulativa" é um code smell
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue