How to get away with murder refactoring
@qcmaude
How to get away with murder refactoring @qcmaude This is me (and - - PowerPoint PPT Presentation
How to get away with murder refactoring @qcmaude This is me (and Chewbacca). I work at & live in San Francisco. How to Get Away with Refactoring @qcmaude 2 /57 Drummondville, QC How to Get Away with Refactoring
@qcmaude
This is me (and Chewbacca). I work at & live in San Francisco.
2 /57
How to Get Away with Refactoring @qcmaude
3 /57
How to Get Away with Refactoring @qcmaude
4 /57
How to Get Away with Refactoring @qcmaude
5 /57
How to Get Away with Refactoring @qcmaude
6 /57
How to Get Away with Refactoring @qcmaude
the factoring) without changing its external behaviour a definition
7 /57
How to Get Away with Refactoring @qcmaude
1. Place 1/10 inch-thick puff pastry in the oven at 350˚F. 2. Whisk the eggs, sugar, vanilla and flour in a bowl. 3. Add boiled milk to the bowl. 4. Return mixture to saucepan for a few minutes until it has a cream- like texture. 5. When the puff pastry is cooked, cut into three even pieces. 6. Layer the crème pâtissière between layers of pastry and let cool.
Boil milk in medium saucepan.
(white all-purpose flour is best)
s h
l d t a k e 1 m i n u t e s * c r è m e p â t i s s i è r e i s t h e c r e a m
i k e m i x t u r e w e j u s t m a d e about 15 minutes on medium heat.
8 /57
How to Get Away with Refactoring @qcmaude
9 /57
How to Get Away with Refactoring @qcmaude
10 /57
How to Get Away with Refactoring @qcmaude
11 /57
How to Get Away with Refactoring @qcmaude
12 /57
How to Get Away with Refactoring @qcmaude
13 /57
How to Get Away with Refactoring @qcmaude
14 /57
How to Get Away with Refactoring @qcmaude
15 /57
How to Get Away with Refactoring @qcmaude
16 /57
How to Get Away with Refactoring @qcmaude
turn it into a shinier pile of poo the real definition
17 /57
How to Get Away with Refactoring @qcmaude
18 /57
How to Get Away with Refactoring @qcmaude
19 /57
How to Get Away with Refactoring @qcmaude
Narrow it down:
20 /57
How to Get Away with Refactoring @qcmaude
21
public and private channels DMs and group DMs unread
/57
How to Get Away with Refactoring @qcmaude
22
# of public & private channels on top five teams* 80 301 69 296 60 029 55 043 49 697 5 841 454 1 926 918 1 819 719 1 527 894 1 524 953 # of channels on top five teams*
* only looks at totals on a single team (non-aggregate view of Enterprise customers)
8 338 590 102 569 100 647 66 311 61 101 # of channel memberships on top five users*
/57
How to Get Away with Refactoring @qcmaude
23 /57
How to Get Away with Refactoring @qcmaude
24 /57
How to Get Away with Refactoring @qcmaude
25
teams_channels groups groups_members teams_channels_members teams_ims
channel membership
public channels private channels DMs C123456 G123456 D123456
/57
How to Get Away with Refactoring @qcmaude
26 /57
How to Get Away with Refactoring @qcmaude
27
distinctness check).
INNER JOIN.
/57
How to Get Away with Refactoring @qcmaude
do some stuff do some other stuff
28 /57
How to Get Away with Refactoring @qcmaude
Get some context:
29 /57
How to Get Away with Refactoring @qcmaude
30 /57
How to Get Away with Refactoring @qcmaude
Put on you thinking cap:
31 /57
How to Get Away with Refactoring @qcmaude
32
teams_channels groups groups_members teams_channels_members teams_ims
channel membership
public channels private channels DMs C123456 G123456 D123456
/57
How to Get Away with Refactoring @qcmaude
33 /57
How to Get Away with Refactoring @qcmaude
34
teams_channels groups teams_ims
channel membership
public channels private channels DMs C123456 G123456 D123456
channels_members
/57
How to Get Away with Refactoring @qcmaude
35 /57
How to Get Away with Refactoring @qcmaude
Sell, sell, sell:
36 /57
How to Get Away with Refactoring @qcmaude
37 /57
How to Get Away with Refactoring @qcmaude
Map it out:
38 /57
How to Get Away with Refactoring @qcmaude
39 /57
How to Get Away with Refactoring @qcmaude
Be careful: don’t bite off more than you can chew!
40
How to Get Away with Refactoring @qcmaude
41 /57
How to Get Away with Refactoring @qcmaude
42 /57
How to Get Away with Refactoring @qcmaude
Go, go, go:
43 /57
How to Get Away with Refactoring @qcmaude
44 /57
How to Get Away with Refactoring @qcmaude
45 /57
How to Get Away with Refactoring @qcmaude
46
teams_channels groups teams_ims
channel membership
public channels private channels DMs C123456 G123456 D123456
channels_members
/57
How to Get Away with Refactoring @qcmaude
47
teams_ims
channel membership
public channels private channels DMs C123456 G123456 D123456
channels_members channels
/57
How to Get Away with Refactoring @qcmaude
48 /57
How to Get Away with Refactoring @qcmaude
1. Dark mode in dev environments.
production over a 2 week period.
49 /57
How to Get Away with Refactoring @qcmaude
50 /57
How to Get Away with Refactoring @qcmaude
51
“I’m afraid I don’t understand, I’m sorry!”
/57
How to Get Away with Refactoring @qcmaude
team_id channel_id user_id … date_joined … date_deleted
52 /57
How to Get Away with Refactoring @qcmaude
Do the boogie:
53 /57
How to Get Away with Refactoring @qcmaude
You’re not done yet:
54 /57
How to Get Away with Refactoring @qcmaude
Refactoring can be a win-win for both engineers & your business but … it has to be carefully scoped & planned out.
55
/57
How to Get Away with Refactoring @qcmaude
56 /57
How to Get Away with Refactoring @qcmaude
Send questions, puns, & concerns to @qcmaude