Slide 1

Slide 1 text

test && commit || revert Ragunath Jawahar / @ragunathjawahar

Slide 2

Slide 2 text

? How long have you been programming professionally

Slide 3

Slide 3 text

Skill Time Beginner Intermediate Expert

Slide 4

Slide 4 text

Skill Time Beginner Intermediate Expert

Slide 5

Slide 5 text

Skill Time Beginner Intermediate Expert

Slide 6

Slide 6 text

Skill Time Beginner Intermediate Expert

Slide 7

Slide 7 text

Skill Time Beginner Intermediate Expert Even if we show up EVERYDAY and work really HARD!

Slide 8

Slide 8 text

Skill Time Beginner Intermediate Expert

Slide 9

Slide 9 text

Skill Time Beginner Intermediate Expert

Slide 10

Slide 10 text

No content

Slide 11

Slide 11 text

No content

Slide 12

Slide 12 text

Deliberate Practice • Identify the skill that you want to build • Break it down to individual sub-skills • Spend 45-90 minutes and a maximum of 3 session practice sessions • Get brutal feedback • Work on the feedback and repeat

Slide 13

Slide 13 text

TCR

Slide 14

Slide 14 text

TCR is a technique to, • Train yourself to break a large problem into smaller manageable pieces • Engage in deliberate practice that warrants focus and concentration • Practice writing good tests and production code

Slide 15

Slide 15 text

TCR is NOT • A successor to TDD • For writing production code

Slide 16

Slide 16 text

./gradlew app:test && git commit -am [Yay!] || git reset --hard

Slide 17

Slide 17 text

./gradlew app:test && git commit -am [Yay!] || git reset --hard

Slide 18

Slide 18 text

./gradlew app:test && git commit -am [Yay!] || git reset --hard

Slide 19

Slide 19 text

./gradlew app:test && git commit -am [Yay!] || git reset --hard

Slide 20

Slide 20 text

./gradlew app:test && git commit -am [Yay!] || git reset --hard

Slide 21

Slide 21 text

Android Studio Configuration

Slide 22

Slide 22 text

1/2

Slide 23

Slide 23 text

2/2

Slide 24

Slide 24 text

–Kent Beck “I hated the idea so I had to try it.”

Slide 25

Slide 25 text

Slide 26

Slide 26 text

Slide 27

Slide 27 text

No content

Slide 28

Slide 28 text

• test && commit || revert
 https://medium.com/@kentbeck_7670/test-commit-revert-870bbd756864 • Kent Beck’s Substring Problem, TCR Style
 https://www.youtube.com/watch?v=ZrHBVTCbcE0 • Kent Beck — Explore, Expand, Extract; TCR and Limbo!
 https://sourcediving.com/kent-beck-explore-expand-extract-tcr-and-limbo-b007b397c12e Making Badass Developers - Kathy Sierra (Serious Pony) keynote • Making Badass Developers - Kathy Sierra (Serious Pony) Keynote
 https://www.youtube.com/watch?v=FKTxC9pl-WM&t=1004s • TCR (test && commit || revert). How to use? Alternative to TDD?
 https://medium.com/@tdeniffel/tcr-test-commit-revert-a-test-alternative-to-tdd-6e6b03c22bec • How to Learn Anything... Fast - Josh Kaufman
 https://www.youtube.com/watch?v=EtJy69cEOtQ • Bench Press (Shameless plug)
 https://github.com/ragunathjawahar/bench-press

Slide 29

Slide 29 text

–Ira Glass “I feel like your problem is that you’re trying to judge all the things in the abstract before you do them. That’s your tragic mistake.”

Slide 30

Slide 30 text

@ragunathjawahar Twitter / Medium / GitHub The End