Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Why Refactoring Is The Best Tool To Write Better Code

Why Refactoring Is The Best Tool To Write Better Code

Refactoring is the process of modifying and restructuring code without changing its functionality. Most developers now think of old legacy applications and the process of upgrading them to current coding standards. That's refactoring too, but it is so much more.

Refactoring is a skill that you can integrate into your daily coding workflow. It lets you focus on making your code work before you can adapt it to your needs.

This talk is for every developer who wants to write better code. I will show you how to make refactoring a new skill of your own and how it benefits your whole coding workflow.

14d39e65f615fd6dcb9dd44ea7f7995b?s=128

Christoph Rumpel

September 01, 2021
Tweet

Transcript

  1. Hello Laracon

  2. None
  3. @christophrumpel https://christoph-rumpel.com

  4. WHY REFACTORING IS THE BEST TOOL TO WRITE BETTER CODE

  5. WHY REFACTORING IS THE BEST TOOL TO WRITE BETTER CODE

  6. What Is Refactoring?

  7. What is "Refactoring" ? Working with legacy applications. " "

  8. What is "Refactoring" ?

  9. What is "Refactoring" ?

  10. What is "Refactoring" ?

  11. What is "Refactoring" ?

  12. What is "Refactoring" ?

  13. What is "Refactoring" ? Refactoring is the process of modifying

    and restructuring code without changing its functionality. " "
  14. Refactoring?

  15. Refactoring?

  16. Refactoring?

  17. Refactoring?

  18. What Is Better Code?

  19. What is "Better Code" ? More code is better code.

    " "
  20. SOLID Extendable Easy Secure What is "Better Code" ? Whatever

    you define
  21. Easy to read Self-explaining Expressive Consistent What is "Better Code"

    ?
  22. Simple Code " " What is "Better Code" ?

  23. Why do we need refactoring to write better code?

  24. Coding Without Refactoring Make your code work + easy to

    read + self-explaining + expressive + consistent = All together !
  25. Coding Without Refactoring More exhausting ❌ More time ❌ Wrong

    focus ❌ Rabbit holes # ❌
  26. Coding With Refactoring Make your code work Easy to read

    (refactoring) Self-explaining (refactoring) Expressive (refactoring) Consistent (refactoring) ✅ ✅ ✅ ✅ ✅
  27. Refactoring + Tests = ❤

  28. Refactoring = changing code Changing code = & Tests =

    ' Make your life easier with Tests ( Refactoring ❤ Tests
  29. Live Demo

  30. None
  31. Refactoring is part of my workflow now!

  32. HTTPS://LARAVELWORKFLOWS.COM

  33. The End