Slide 1

Slide 1 text

Refactoring Ruby Edition in-house reading KUROKI Shinsuke Aiming Inc.

Slide 2

Slide 2 text

About me ● Online game developer ● Uses Rails and Backbone.js ● Often attends Shinjuku.rb

Slide 3

Slide 3 text

Contents ● Why I began the reading ● How was it

Slide 4

Slide 4 text

Why I began the reading

Slide 5

Slide 5 text

4 years ago

Slide 6

Slide 6 text

New project

Slide 7

Slide 7 text

My first python, my first xUnit

Slide 8

Slide 8 text

My code smelled

Slide 9

Slide 9 text

My boss told me, "Let's read ..."

Slide 10

Slide 10 text

"Refactoring"

Slide 11

Slide 11 text

I knew what "code smell" is

Slide 12

Slide 12 text

Our project went on

Slide 13

Slide 13 text

My code was reviewed, using word in the book

Slide 14

Slide 14 text

I truly knew what "code smell" is and "code visibility" is

Slide 15

Slide 15 text

1 year ago

Slide 16

Slide 16 text

New project

Slide 17

Slide 17 text

My n-th Rails

Slide 18

Slide 18 text

Project had already begun I began to review our code to know it

Slide 19

Slide 19 text

Our code smelled

Slide 20

Slide 20 text

"How should we do?"

Slide 21

Slide 21 text

"Eureka!"

Slide 22

Slide 22 text

"Now is the time!"

Slide 23

Slide 23 text

I told my teammates, "Let's read ..."

Slide 24

Slide 24 text

"Refactoring Ruby Edition"

Slide 25

Slide 25 text

I began to share them what "code smell" is

Slide 26

Slide 26 text

How was it

Slide 27

Slide 27 text

Rubyish refactoring ● Replace Loop with Collection Closure Method ● Replace method_missing to Dynamic method Definition ● Replace Type Code with Module Extension ● etc

Slide 28

Slide 28 text

Every Thursday 19:00-20:00(after closing time), about half year

Slide 29

Slide 29 text

I reviewed our code, using word in the book

Slide 30

Slide 30 text

We discussed on the reading, based on experience in our project

Slide 31

Slide 31 text

Gave positive feedback to each other, project work <=> reading

Slide 32

Slide 32 text

Was I able to share what "code smell" is? (I think a little)

Slide 33

Slide 33 text

Thanks! We're hiring! http://aiming-inc.com/