Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Refactoring: Importância e Técnica em Sistemas ...
Search
Davi Marcondes Moreira
March 06, 2018
Programming
0
260
Refactoring: Importância e Técnica em Sistemas Legados (PHP Experience 2018)
Talk realizada no PHP Experience 2018
Link do repositório:
https://github.com/devdrops/refactoring
Davi Marcondes Moreira
March 06, 2018
Tweet
Share
More Decks by Davi Marcondes Moreira
See All by Davi Marcondes Moreira
Tipos de Dados do PHP7 - PHPeste 2019
devdrops
1
46
Tipos de Dados do PHP7 - 4º Meetup PHPVale
devdrops
0
150
Refatorando Seu Código Com Boas Práticas - PHP Experience 2019
devdrops
0
110
Testes de Software - PHP Vale
devdrops
0
55
Serverless e PHP - PHPeste 2018
devdrops
1
110
Code Smells
devdrops
1
130
SPL e Suas Estruturas de Dados: Como Funcionam? - PHP Community Summit 2018
devdrops
0
200
Por Quê Ainda Escolher O PHP - The Developers Conference SP 2018
devdrops
3
210
Trabalho Remoto na Vida Real
devdrops
0
250
Other Decks in Programming
See All in Programming
MCPでVibe Working。そして、結局はContext Eng(略)/ Working with Vibe on MCP And Context Eng
rkaga
5
1.6k
Improving my own Ruby thereafter
sisshiki1969
1
150
Protocol Buffersの型を超えて拡張性を得る / Beyond Protocol Buffers Types Achieving Extensibility
linyows
0
100
AI時代のドメイン駆動設計-DDD実践におけるAI活用のあり方 / ddd-in-ai-era
minodriven
25
9.7k
1から理解するWeb Push
dora1998
3
1.3k
FindyにおけるTakumi活用と脆弱性管理のこれから
rvirus0817
0
390
もうちょっといいRubyプロファイラを作りたい (2025)
osyoyu
0
240
AI時代のUIはどこへ行く?
yusukebe
12
7.3k
「手軽で便利」に潜む罠。 Popover API を WCAG 2.2の視点で安全に使うには
taitotnk
0
580
MLH State of the League: 2026 Season
theycallmeswift
0
210
go test -json そして testing.T.Attr / Kyoto.go #63
utgwkk
2
230
MCPとデザインシステムに立脚したデザインと実装の融合
yukukotani
4
1.2k
Featured
See All Featured
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
23
1.4k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.4k
jQuery: Nuts, Bolts and Bling
dougneiner
64
7.9k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
Designing for Performance
lara
610
69k
For a Future-Friendly Web
brad_frost
179
9.9k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
61k
Six Lessons from altMBA
skipperchong
28
4k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
11
1.1k
The Straight Up "How To Draw Better" Workshop
denniskardys
236
140k
Making the Leap to Tech Lead
cromwellryan
134
9.5k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
53
2.9k
Transcript
Refactoring: Importância e Técnica em Sistemas Legados 2018-03-06 @ PHP
Experience Davi Marcondes Moreira @devdrops
Agenda ➔ Apresentação ➔ O Que É Refatoração? ➔ Por
Quê Se Preocupar Com Refatoração? ➔ 10 Técnicas Práticas ➔ Conclusões ➔ Referências
Apresentação Davi Marcondes Moreira Desenvolvedor de Software @ Pagar.me @devdrops
Mending > Making
O Que É Refatoração?
O Que É Refatoração? “Refactoring is a controlled technique for
improving the design of an existing code base.” Martin Fowler
Aplicar mudanças em código sem comprometer suas funcionalidades finais.
Por Quê Se Preocupar com Refatoração?
Por Quê Se Preocupar com Refatoração? “Software is an asset,
and like any asset we want it to continue to provide value on an ongoing basis.” David Scott Bernstein
Manter sistemas é parte crítica de todo tipo de negócio
digital.
None
10 Técnicas Práticas (baseado em fatos reais)
None
Conclusões
None
No Episódio de Hoje... • Refatorar é um meio para
um fim. • Conheça sua aplicação e saiba reconhecer Code Smells. • Peça ajuda de seus colegas. • “A única certeza sobre software é que ele muda.”
Referências • Developer Tea podcast - Why You Should Refactor
Your Software (https://spec.fm/podcasts/developer-tea/14332) • Legacy Code Rocks podcast - Beyond Legacy Code with David Bernstein (https://soundcloud.com/andrea-goulet-651190405/beyond-legacy -code-with-david) • RailsConf 2016 - Code Refactoring: Learn Code Smells and Level Up Your Game! (https://www.youtube.com/watch?v=D4auWwMsEnY) • Industrial Logic - Smells to Refactoring Quick Reference Guide (https://www.industriallogic.com/wp-content/uploads/2005/09/sm ellstorefactorings.pdf) • Refactoring Guru (https://refactoring.guru)
Muito obrigado! @devdrops devdrops.me/about https://github.com/devdrops/refactoring