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
280
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
68
Tipos de Dados do PHP7 - 4º Meetup PHPVale
devdrops
0
160
Refatorando Seu Código Com Boas Práticas - PHP Experience 2019
devdrops
0
120
Testes de Software - PHP Vale
devdrops
0
68
Serverless e PHP - PHPeste 2018
devdrops
1
130
Code Smells
devdrops
1
150
SPL e Suas Estruturas de Dados: Como Funcionam? - PHP Community Summit 2018
devdrops
0
220
Por Quê Ainda Escolher O PHP - The Developers Conference SP 2018
devdrops
3
220
Trabalho Remoto na Vida Real
devdrops
0
270
Other Decks in Programming
See All in Programming
社内規程RAGの精度を73.3% → 100%に改善した話
oharu121
12
7.4k
go directiveを最新にしすぎないで欲しい話──あるいは、Go 1.26からgo mod initで作られるgo directiveの値が変わる話 / Go 1.26 リリースパーティ
arthur1
2
450
Rubyと楽しいをつくる / Creating joy with Ruby
chobishiba
0
200
20260228_JAWS_Beginner_Kansai
takuyay0ne
5
430
Python’s True Superpower
hynek
0
200
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
190
TROCCOで実現するkintone+BigQueryによるオペレーション改善
ssxota
0
120
朝日新聞のデジタル版を支えるGoバックエンド ー価値ある情報をいち早く確実にお届けするために
junkiishida
1
350
2026年は Rust 置き換えが流行る! / 20260220-niigata-5min-tech
girigiribauer
0
220
Head of Engineeringが現場で回した生産性向上施策 2025→2026
gessy0129
0
210
AIプロダクト時代のQAエンジニアに求められること
imtnd
2
640
モジュラモノリスにおける境界をGoのinternalパッケージで守る
magavel
0
3.4k
Featured
See All Featured
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
1
140
Balancing Empowerment & Direction
lara
5
930
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.3k
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
1
660
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
Testing 201, or: Great Expectations
jmmastey
46
8.1k
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
290
Building Applications with DynamoDB
mza
96
6.9k
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
140
Building AI with AI
inesmontani
PRO
1
760
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
130
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