Slide 1

Slide 1 text

Hello Laracon

Slide 2

Slide 2 text

No content

Slide 3

Slide 3 text

@christophrumpel https://christoph-rumpel.com

Slide 4

Slide 4 text

WHY REFACTORING IS THE BEST TOOL TO WRITE BETTER CODE

Slide 5

Slide 5 text

WHY REFACTORING IS THE BEST TOOL TO WRITE BETTER CODE

Slide 6

Slide 6 text

What Is Refactoring?

Slide 7

Slide 7 text

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

Slide 8

Slide 8 text

What is "Refactoring" ?

Slide 9

Slide 9 text

What is "Refactoring" ?

Slide 10

Slide 10 text

What is "Refactoring" ?

Slide 11

Slide 11 text

What is "Refactoring" ?

Slide 12

Slide 12 text

What is "Refactoring" ?

Slide 13

Slide 13 text

What is "Refactoring" ? Refactoring is the process of modifying and restructuring code without changing its functionality. " "

Slide 14

Slide 14 text

Refactoring?

Slide 15

Slide 15 text

Refactoring?

Slide 16

Slide 16 text

Refactoring?

Slide 17

Slide 17 text

Refactoring?

Slide 18

Slide 18 text

What Is Better Code?

Slide 19

Slide 19 text

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

Slide 20

Slide 20 text

SOLID Extendable Easy Secure What is "Better Code" ? Whatever you define

Slide 21

Slide 21 text

Easy to read Self-explaining Expressive Consistent What is "Better Code" ?

Slide 22

Slide 22 text

Simple Code " " What is "Better Code" ?

Slide 23

Slide 23 text

Why do we need refactoring to write better code?

Slide 24

Slide 24 text

Coding Without Refactoring Make your code work + easy to read + self-explaining + expressive + consistent = All together !

Slide 25

Slide 25 text

Coding Without Refactoring More exhausting ❌ More time ❌ Wrong focus ❌ Rabbit holes # ❌

Slide 26

Slide 26 text

Coding With Refactoring Make your code work Easy to read (refactoring) Self-explaining (refactoring) Expressive (refactoring) Consistent (refactoring) ✅ ✅ ✅ ✅ ✅

Slide 27

Slide 27 text

Refactoring + Tests = ❤

Slide 28

Slide 28 text

Refactoring = changing code Changing code = & Tests = ' Make your life easier with Tests ( Refactoring ❤ Tests

Slide 29

Slide 29 text

Live Demo

Slide 30

Slide 30 text

No content

Slide 31

Slide 31 text

Refactoring is part of my workflow now!

Slide 32

Slide 32 text

HTTPS://LARAVELWORKFLOWS.COM

Slide 33

Slide 33 text

The End