Top Banner
Let me refactor this for you
15

Let me refactor this for you

Apr 10, 2017

Download

Software

AnadeaInc
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
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