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

Lean

Slide 23

Slide 23 text

No content

Slide 24

Slide 24 text

Shape Up

Slide 25

Slide 25 text

No content

Slide 26

Slide 26 text

We are in build phase ... now what?

Slide 27

Slide 27 text

No content

Slide 28

Slide 28 text

No content

Slide 29

Slide 29 text

No content

Slide 30

Slide 30 text

No content

Slide 31

Slide 31 text

Tools when you need them...

Slide 32

Slide 32 text

$ Shape Up Hill Chart

Slide 33

Slide 33 text

$ Shape Up Hill Chart

Slide 34

Slide 34 text

No content

Slide 35

Slide 35 text

Plan for today

Slide 36

Slide 36 text

% Drawing & Spike ' Agenda

Slide 37

Slide 37 text

% Drawing

Slide 38

Slide 38 text

No content

Slide 39

Slide 39 text

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

Slide 40

Slide 40 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 41

Slide 41 text

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

Slide 42

Slide 42 text

No content

Slide 43

Slide 43 text

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

Slide 44

Slide 44 text

No content

Slide 45

Slide 45 text

No content

Slide 46

Slide 46 text

. Showcase 1

Slide 47

Slide 47 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 48

Slide 48 text

. Showcase 2

Slide 49

Slide 49 text

. Showcase 2

Slide 50

Slide 50 text

. Showcase 3 (brainstorm)

Slide 51

Slide 51 text

. Showcase 4 (advice)

Slide 52

Slide 52 text

. Showcase 5 (advice)

Slide 53

Slide 53 text

PlantUML https://www.plantuml.com/

Slide 54

Slide 54 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 55

Slide 55 text

No content

Slide 56

Slide 56 text

No content

Slide 57

Slide 57 text

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

Slide 58

Slide 58 text

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

Slide 59

Slide 59 text

No content

Slide 60

Slide 60 text

4 ...but “Why don't you use paper? ... I like using paper” “I can't draw, I don't have the skills.”

Slide 61

Slide 61 text

4 ...but “Why don't you use paper? ... I like using paper” “I can't draw, I don't have the skills.” 5 Paper is too small, I want infinite canvas 6 Paper is permanent, I want to re-arrange, update 7 I want to share with multiple people and collaborate

Slide 62

Slide 62 text

4 ...but “Why don't you use paper? ... I like using paper” “I can't draw, I don't have the skills.” If paper works for you ... amazing, keep using it 8

Slide 63

Slide 63 text

4 ...but “Why don't you use paper? ... I like using paper” “I can't draw, I don't have the skills.” I couldn't too, it took me 6~8 months to get good with Excalidraw ... I'm still improving. 9

Slide 64

Slide 64 text

4 ...but “Why don't you use paper? ... I like using paper” “I can't draw, I don't have the skills.”

Slide 65

Slide 65 text

& Spike

Slide 66

Slide 66 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 67

Slide 67 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 68

Slide 68 text

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

Slide 69

Slide 69 text

No content

Slide 70

Slide 70 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 71

Slide 71 text

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

Slide 72

Slide 72 text

No content

Slide 73

Slide 73 text

4 ...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 74

Slide 74 text

4 ...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. ;

Slide 75

Slide 75 text

4 ...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" ;

Slide 76

Slide 76 text

4 ...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 ;

Slide 77

Slide 77 text

4 ...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 78

Slide 78 text

4 ...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 79

Slide 79 text

Recap

Slide 80

Slide 80 text

No content

Slide 81

Slide 81 text

... of course all depends on specific feature -

Slide 82

Slide 82 text

No content

Slide 83

Slide 83 text

Thanks 8

Slide 84

Slide 84 text

https://speakerdeck.com/rstankov