let me refactor this for you

15
Let me refactor this for you

Upload: anadeainc

Post on 10-Apr-2017

149 views

Category:

Software


1 download

TRANSCRIPT

Page 1: Let me refactor this for you

Let me refactor this for you

Page 2: Let me refactor this for you

Controlling complexity is the essence of computer programming.

Brian Kernighan

Page 3: Let me refactor this for you
Page 4: Let me refactor this for you
Page 5: Let me refactor this for you

Lots of things

Page 6: Let me refactor this for you

That awkward moment

Page 7: Let me refactor this for you

For example

Page 8: Let me refactor this for you

Let’s enter an object

Page 9: Let me refactor this for you

And then

Page 10: Let me refactor this for you

Let’s practice

Page 11: Let me refactor this for you

The first step

Page 12: Let me refactor this for you

The second step

Page 13: Let me refactor this for you

And what do we have in the User class?

Page 14: Let me refactor this for you

And what do we have in the User class?

Page 15: Let me refactor this for you

The end!

Click to visit our blog:anadea.info/blog