Slide 1

Slide 1 text

Radoslav Stankov How to Plan a Feature

Slide 2

Slide 2 text

No content

Slide 3

Slide 3 text

Radoslav Stankov @rstankov

Slide 4

Slide 4 text

No content

Slide 5

Slide 5 text

No content

Slide 6

Slide 6 text

No content

Slide 7

Slide 7 text

No content

Slide 8

Slide 8 text

No content

Slide 9

Slide 9 text

Complicated feature !

Slide 10

Slide 10 text

Where to start?

Slide 11

Slide 11 text

Waterfall methodology

Slide 12

Slide 12 text

" Waterfall Methodology

Slide 13

Slide 13 text

... this what we get

Slide 14

Slide 14 text

No content

Slide 15

Slide 15 text

Agile methodology

Slide 16

Slide 16 text

# Agile Methodology

Slide 17

Slide 17 text

No content

Slide 18

Slide 18 text

No need for upfront design, just...

Slide 19

Slide 19 text

... code like a cowboy

Slide 20

Slide 20 text

No content

Slide 21

Slide 21 text

... this what we get

Slide 22

Slide 22 text

No content

Slide 23

Slide 23 text

No content

Slide 24

Slide 24 text

No content

Slide 25

Slide 25 text

No content

Slide 26

Slide 26 text

Tools when you need them...

Slide 27

Slide 27 text

No content

Slide 28

Slide 28 text

No content

Slide 29

Slide 29 text

Plan for today

Slide 30

Slide 30 text

$ Drawing % Spike & Focused Task ' Feature Switches ( Agenda

Slide 31

Slide 31 text

$ Drawing

Slide 32

Slide 32 text

No content

Slide 33

Slide 33 text

) Draw state/flow we want to achieve * Draw current state/flow + Database structure ➡ What we need todo (plan) $ Drawing

Slide 34

Slide 34 text

- Tools Excalidraw - great for single player Whimsical - great for collaboration
 
 PlantUML - great for documentation Figma - for UI collaboration with designer Miro/FigJam - for group brainstorming ... use whatever works for you .

Slide 35

Slide 35 text

https://blog.rstankov.com/how-i-plan-and-execute-features/

Slide 36

Slide 36 text

No content

Slide 37

Slide 37 text

done todo won't do in progress https://blog.rstankov.com/how-i-plan-and-execute-features/

Slide 38

Slide 38 text

No content

Slide 39

Slide 39 text

No content

Slide 40

Slide 40 text

/ Showcase 1

Slide 41

Slide 41 text

Feature: Stacking on product page product page (not in stack) -> do you use -> yes -> review
 product page (not in stack) -> do you use -> no -> search (alternative) -> review 
 product page (in stack) -> still using? -> yes -> ask for tip -> add tip
 product page (in stack) -> still using? -> no -> search (alternative) -> review / Showcase 1 (end to end test scenarios)

Slide 42

Slide 42 text

/ Showcase 2

Slide 43

Slide 43 text

/ Showcase 2

Slide 44

Slide 44 text

/ Showcase 3 (brainstorm)

Slide 45

Slide 45 text

/ Showcase 4 (advice)

Slide 46

Slide 46 text

/ Showcase 5 (advice)

Slide 47

Slide 47 text

PlantUML https://www.plantuml.com/

Slide 48

Slide 48 text

@startuml "Browser" -> "Cloudflare": HTTPS Request "Cloudflare" -> "AWS ELB": HTTPS Request "AWS ELB" -> "Frontend (AWS ECS)": HTTPS Request "Frontend (AWS ECS)" -> "Backend (AWS ECS)": GraphQL Request "Backend (AWS ECS)" -> "Redis (Rediscloud)": Cache Query "Backend (AWS ECS)" -> "Database (AWS RDS Aurora)": SQL Query "Backend (AWS ECS)" --> "Frontend (AWS ECS)": JSON Response "Frontend (AWS ECS)" --> "Browser": HTML Response @enduml PlantUML https://www.plantuml.com/

Slide 49

Slide 49 text

No content

Slide 50

Slide 50 text

No content

Slide 51

Slide 51 text

) Explain the problem to someone (vocal or in writing) * Why something won't work 0 While doing this ideas will come 0 Explain the problem

Slide 52

Slide 52 text

) Create empty file on Desktop * Write quick & dirty code in empty file + Imagine a perfect world for this code 1 Delete file # If solution is 2 ➡ think of something else ➡ If solution is ✅ ➡ use ideas in project ✍ Code Sketch

Slide 53

Slide 53 text

% Spike

Slide 54

Slide 54 text

“A task aimed at answering a question or gathering information, rather than at producing shippable product. Sometimes we can't estimate until the development team does some actual work to resolve a technical question or a design problem.” - WikipediA Spike (software development)

Slide 55

Slide 55 text

“A task aimed at answering a question or gathering information, rather than at producing shippable product. Sometimes we can't estimate until the development team does some actual work to resolve a technical question or a design problem.” - WikipediA Spike (software development)

Slide 56

Slide 56 text

5 Define scope and time-box ) Write quick & dirty code in a Pull Request * Review the solution + Close Pull Request without merging # If solution is 2 ➡ Discuss new solution ➡ If solution is ✅ ➡ Open new Pull Request % Spike

Slide 57

Slide 57 text

No content

Slide 58

Slide 58 text

“The goal of a "spike" is to help you draw a map of how to implement a solution with confidence, not to implement a solution.” - Rado

Slide 59

Slide 59 text

“The best feature of a "spike" is that it is a safe way to say this approach doesn't work.” - Rado

Slide 60

Slide 60 text

No content

Slide 61

Slide 61 text

6 ...but “We can't do a "spike" for every feature. It will waste too much time.” “You don't need a "spike" to show that your solution isn't good.” “Why do you need to throw away the code?” “Isn't this a Prototype, MVP, PoC?”

Slide 62

Slide 62 text

6 ...but “We can't do a "spike" for every feature. It will waste too much time.” “You don't need a "spike" to show that your solution isn't good.” “Why do you need to throw away the code?” “Isn't this a Prototype, MVP, PoC?” Don't do it for every feature. Do it when you are not confident how to solve a problem. 7

Slide 63

Slide 63 text

6 ...but “We can't do a "spike" for every feature. It will waste too much time.” “You don't need a "spike" to show that your solution isn't good.” “Why do you need to throw away the code?” “Isn't this a Prototype, MVP, PoC?” Because of "Tunnel vision" and "sunk cost fallacy" 7

Slide 64

Slide 64 text

6 ...but “We can't do a "spike" for every feature. It will waste too much time.” “You don't need a "spike" to show that your solution isn't good.” “Why do you need to throw away the code?” “Isn't this a Prototype, MVP, PoC?” Because it is usually a mess. I don't delete it, I just copy parts I need into a clean new PR 7

Slide 65

Slide 65 text

6 ...but “We can't do a "spike" for every feature. It will waste too much time.” “You don't need a "spike" to show that your solution isn't good.” “Why do you need to throw away the code?” “Isn't this a Prototype, MVP, PoC?” Kinda - yes. The difference is in how big it is, who is meant for team or external, and do we ship it in production. .

Slide 66

Slide 66 text

6 ...but “We can't do a "spike" for every feature. It will waste too much time.” “You don't need a "spike" to show that your solution isn't good.” “Why do you need to throw away the code?” “Isn't this a Prototype, MVP, PoC?”

Slide 67

Slide 67 text

& Focused Task

Slide 68

Slide 68 text

No content

Slide 69

Slide 69 text

What's next 8

Slide 70

Slide 70 text

Focused Task

Slide 71

Slide 71 text

Focused Task https://github.com/RStankov/FocusedTask

Slide 72

Slide 72 text

Focused Task is just sketchpad for my current task. For everything else I use "Todoist"

Slide 73

Slide 73 text

' Feature switches

Slide 74

Slide 74 text

No content

Slide 75

Slide 75 text

No content

Slide 76

Slide 76 text

No content

Slide 77

Slide 77 text

OFF ON User ' Feature switches Check

Slide 78

Slide 78 text

No content

Slide 79

Slide 79 text

1 week 2 week 3 week ...

Slide 80

Slide 80 text

1 week 2 week 3 week ... developer

Slide 81

Slide 81 text

1 week 2 week 3 week ... developer beta

Slide 82

Slide 82 text

1 week 2 week 3 week ... developer beta admin

Slide 83

Slide 83 text

1 week 2 week 3 week ... developer beta admin everybody

Slide 84

Slide 84 text

Project Iteration Delivery Retro

Slide 85

Slide 85 text

unless Feature.enabled?(:funds) redirect_to feature_unavailable_path
 end 9 Ruby on Rails

Slide 86

Slide 86 text


 Your funds
 ⚛ React

Slide 87

Slide 87 text

const fundsEnabled = useFeature("funds") ⚛ React

Slide 88

Slide 88 text

No content

Slide 89

Slide 89 text

No content

Slide 90

Slide 90 text

Recap

Slide 91

Slide 91 text

No content

Slide 92

Slide 92 text

... of course all depends on specific feature .

Slide 93

Slide 93 text

No content

Slide 94

Slide 94 text

Thanks ;

Slide 95

Slide 95 text

https://speakerdeck.com/rstankov