Slide 1

Slide 1 text

The Effective Developer Radoslav Stankov

Slide 2

Slide 2 text

No content

Slide 3

Slide 3 text

No content

Slide 4

Slide 4 text

No content

Slide 5

Slide 5 text

No content

Slide 6

Slide 6 text

πŸ‘‹

Slide 7

Slide 7 text

Radoslav Stankov @rstankov

Slide 8

Slide 8 text

No content

Slide 9

Slide 9 text

No content

Slide 10

Slide 10 text

No content

Slide 11

Slide 11 text

No content

Slide 12

Slide 12 text

No content

Slide 13

Slide 13 text

β€œIt is better to be a good programmer with great habits, than a great programmer.” - Kent Beck

Slide 14

Slide 14 text

β€œProcess is automatic decisions for trivial questions and framework for making decisions for all other questions.” - Rado What is process

Slide 15

Slide 15 text

No content

Slide 16

Slide 16 text

No content

Slide 17

Slide 17 text

1. Focus

Slide 18

Slide 18 text

No content

Slide 19

Slide 19 text

No content

Slide 20

Slide 20 text

Flow

Slide 21

Slide 21 text

β€œFlow state, also known as being in the zone, is the mental state of operation in which a person performing an activity is fully immersed in a feeling of energized focus, full involvement, and enjoyment in the process of the activity.” - WikipediA Flow

Slide 22

Slide 22 text

No content

Slide 23

Slide 23 text

β€œTask switching is an executive function that involves the ability to shift attention between one task and another unconsciously.” - WikipediA Task switching

Slide 24

Slide 24 text

πŸ€” you πŸ˜… your 🧠

Slide 25

Slide 25 text

What's next πŸ”œ

Slide 26

Slide 26 text

Todoist

Slide 27

Slide 27 text

Focused Task

Slide 28

Slide 28 text

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

Slide 29

Slide 29 text

πŸ™‰ Eliminate distractions 🚫 block websites πŸ“± reduce app noti fi cations 🀫 do not disturb mode

Slide 30

Slide 30 text

Manage your energy

Slide 31

Slide 31 text

β€œIn cognitive psychology, cognitive load refers to the used amount of working memory resources. ” - WikipediA Cognitive load

Slide 32

Slide 32 text

β€œEgo depletion refers to the idea that self- control or willpower draws upon a limited pool of mental resources that can be used up.” - WikipediA Ego depletion

Slide 33

Slide 33 text

No content

Slide 34

Slide 34 text

No content

Slide 35

Slide 35 text

No content

Slide 36

Slide 36 text

No content

Slide 37

Slide 37 text

No content

Slide 38

Slide 38 text

No content

Slide 39

Slide 39 text

β€œProcess is automatic decisions for trivial questions and framework for making decisions for all other questions.” - Rado What is process

Slide 40

Slide 40 text

β€œProcess is automatic decisions for trivial questions and framework for making decisions for all other questions.” - Rado What is process

Slide 41

Slide 41 text

πŸ“† Routine ⏲ Reminders πŸ“‹ Checklist πŸ—‚ Templates πŸ€– Automations

Slide 42

Slide 42 text

Prepare the clothes you are going to wear tomorrow the evening before. πŸ’‘Life Hack

Slide 43

Slide 43 text

Capture knowledge

Slide 44

Slide 44 text

β€œOur head is for creating ideas, not storing them” - David Allen, author GTD

Slide 45

Slide 45 text

Rado's Head Bear Todoist Idea πŸ’‘ Store Next action

Slide 46

Slide 46 text

No content

Slide 47

Slide 47 text

No content

Slide 48

Slide 48 text

No content

Slide 49

Slide 49 text

πŸ’‘Split task into parts

Slide 50

Slide 50 text

No content

Slide 51

Slide 51 text

done todo won't do in progress

Slide 52

Slide 52 text

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

Slide 53

Slide 53 text

2. Effective

Slide 54

Slide 54 text

No content

Slide 55

Slide 55 text

Know your craft

Slide 56

Slide 56 text

No content

Slide 57

Slide 57 text

No content

Slide 58

Slide 58 text

First principles and fundaments

Slide 59

Slide 59 text

First principles and fundaments TypeScript Node Browser React Next JavaScript

Slide 60

Slide 60 text

No content

Slide 61

Slide 61 text

https://www.youtube.com/watch?v=JxAXlJEmNMg&list=PL7664379246A246CB Crockford on JavaScript

Slide 62

Slide 62 text

No content

Slide 63

Slide 63 text

πŸ”Ž Read the source code

Slide 64

Slide 64 text

βš› πŸͺ React Hooks

Slide 65

Slide 65 text

export function useEffect( create: () => (() => void) | void, deps: Array | void | null, ): void { const dispatcher = resolveDispatcher(); return dispatcher.useEffect(create, deps); } https://github.com/facebook/react/blob/main/packages/react/src/ReactHooks.js

Slide 66

Slide 66 text

https://github.com/facebook/react/blob/main/packages/react-reconciler/src/ReactFiberHooks.new.js πŸ€” const HooksDispatcherOnMount: Dispatcher = { // ... useRef: mountRef, // ... }; const HooksDispatcherOnUpdate: Dispatcher = { // ... useRef: updateRef, // ... }; const HooksDispatcherOnRerender: Dispatcher = { // ... useRef: updateRef, // ... }; const ContextOnlyDispatcher: Dispatcher = { // ... useRef: throwInvalidHookError, // ... };

Slide 67

Slide 67 text

https://github.com/facebook/react/blob/main/packages/react-reconciler/src/ReactFiberHooks.new.js function updateRef(initialValue: T): {current: T} { const hook = updateWorkInProgressHook(); return hook.memoizedState; }

Slide 68

Slide 68 text

function updateWorkInProgressHook(): Hook { // This function is used both for updates and for re-renders triggered by a // render phase update. It assumes there is either a current hook we can // clone, or a work-in-progress hook from a previous render pass that we can // use as a base. When we reach the end of the base list, we must switch to // the dispatcher used for mounts. let nextCurrentHook: null | Hook; if (currentHook === null) { const current = currentlyRenderingFiber.alternate; if (current !== null) { nextCurrentHook = current.memoizedState; } else { nextCurrentHook = null; } } else { nextCurrentHook = currentHook.next; } let nextWorkInProgressHook: null | Hook; if (workInProgressHook === null) { nextWorkInProgressHook = currentlyRenderingFiber.memoizedState; } else { nextWorkInProgressHook = workInProgressHook.next; } if (nextWorkInProgressHook !== null) { // There's already a work-in-progress. Reuse it.

Slide 69

Slide 69 text

function updateWorkInProgressHook(): Hook { // This function is used both for updates and for re-renders triggered by a // render phase update. It assumes there is either a current hook we can // clone, or a work-in-progress hook from a previous render pass that we can // use as a base. When we reach the end of the base list, we must switch to // the dispatcher used for mounts. let nextCurrentHook: null | Hook; if (currentHook === null) { const current = currentlyRenderingFiber.alternate; if (current !== null) { nextCurrentHook = current.memoizedState; } else { nextCurrentHook = null; } } else { nextCurrentHook = currentHook.next; } let nextWorkInProgressHook: null | Hook; if (workInProgressHook === null) { nextWorkInProgressHook = currentlyRenderingFiber.memoizedState; } else { nextWorkInProgressHook = workInProgressHook.next; } if (nextWorkInProgressHook !== null) { // There's already a work-in-progress. Reuse it.

Slide 70

Slide 70 text

Know your tools

Slide 71

Slide 71 text

πŸƒ Run a test πŸ”Ž Search in codebase ✈ Jump across fi les 🧱 Refactoring - moving code around πŸ“š Search documentation πŸ’» Writing new code β›© Common operations

Slide 72

Slide 72 text

No content

Slide 73

Slide 73 text

No content

Slide 74

Slide 74 text

😍

Slide 75

Slide 75 text

😍

Slide 76

Slide 76 text

No content

Slide 77

Slide 77 text

Alfred + Dash

Slide 78

Slide 78 text

No content

Slide 79

Slide 79 text

No content

Slide 80

Slide 80 text

https://blog.rstankov.com/my-alfred-setup/

Slide 81

Slide 81 text

ChatGPT Github Copilot

Slide 82

Slide 82 text

Don't blame me! Github Copilot did it.

Slide 83

Slide 83 text

No content

Slide 84

Slide 84 text

...more tools

Slide 85

Slide 85 text

No content

Slide 86

Slide 86 text

No content

Slide 87

Slide 87 text

No content

Slide 88

Slide 88 text

No content

Slide 89

Slide 89 text

3. Goals

Slide 90

Slide 90 text

Procrastination

Slide 91

Slide 91 text

🚫 Fear of Failure / Perfectionism 🀫 Lack of Motivation / Feeling Overwhelmed 
 πŸ“± Poor Time Management Skills πŸ™‰ Procrastination

Slide 92

Slide 92 text

β€œReading is good, action is better.” - Eric Ries ( Lean Startup)

Slide 93

Slide 93 text

😎 Personal Goals πŸ’» Work Goals πŸ›Ή Baseline

Slide 94

Slide 94 text

😎 Personal Goals ✈ Travel to Japan πŸ‡―πŸ‡΅ πŸƒ Weight 90kg 
 πŸ’» Work Goals πŸ“ˆ Ship claiming of Product Hub πŸ“š Learn PostgreSQL internals 
 πŸ›Ή Baseline 🚢 10k steps per day πŸ‹ Train 3 days a week πŸ›Œ Sleep 8 hours a night

Slide 95

Slide 95 text

πŸŽ‚ Yearly 
 🍰 Monthly 
 🍑 Weekly 
 🍭 Daily 


Slide 96

Slide 96 text

1⃣ Top priority πŸ₯‡ 2⃣ Second priority πŸ₯ˆ 3⃣ Third priority πŸ₯‰ ⏺ Something else 
 ⏺ Something else 
 ⏺ Something else πŸ₯‡ Priority

Slide 97

Slide 97 text

1⃣ Top priority πŸ₯‡ 2⃣ Second priority πŸ₯ˆ 3⃣ Third priority πŸ₯‰ ⏺ Something else 
 ⏺ Something else 
 ⏺ Something else πŸ₯‡ Priority

Slide 98

Slide 98 text

No content

Slide 99

Slide 99 text

1⃣ Status of goals 2⃣ What went well? 3⃣ What could have been done better? 4⃣ What are the goals and plans for next week? πŸ‘¨πŸ« Weekly Review

Slide 100

Slide 100 text

Recap

Slide 101

Slide 101 text

β€œEvery productivity system stops working eventually and there’s nothing you can do about it” - Someone on the internet

Slide 102

Slide 102 text

β€œThink about your own work fl ows and improve them one step of the timeπŸ’‘β€ - Rado

Slide 103

Slide 103 text

No content

Slide 104

Slide 104 text

Books

Slide 105

Slide 105 text

Pragmatic Programmer Getting Things Done Checklist Manifesto Soft Skills Peak Performance Four Thousand Weeks

Slide 106

Slide 106 text

No content

Slide 107

Slide 107 text

No content

Slide 108

Slide 108 text

Thanks 😎

Slide 109

Slide 109 text

https://speakerdeck.com/rstankov