Slide 1

Slide 1 text

Hidden Slide Slower Hidden Slide Slower Dublin, 2018 celebrating passion and craft Facilitated by: Paulo Clavijo @pclavijo Gabriel Moral @gabrielmoral

Slide 2

Slide 2 text

Thanks to our sponsor!

Slide 3

Slide 3 text

Join Software Crafters on Slack. http://slack.softwarecrafters.org #dublin #cork

Slide 4

Slide 4 text

There are 130 GDCR 2018 events registered around the world! Hidden Slide Slower

Slide 5

Slide 5 text

The Global Day of Coderetreat is happening thanks to hundreds of Hosts and Facilitators worldwide! Hidden Slide Slower

Slide 6

Slide 6 text

Agenda Morning 09:00 - Arrival, coffee 09:15 - Welcome and introductions 09:30 - Session #1 10:15 - Retrospective, break 10:45 - Session #2 11.30 - Retrospective, break 12:00 - Session #3 12:45 - Retrospective Afternoon 13:00 to 14:15 - Lunch, socializing 14:15 - Session #4 15:00 - Retrospective, break 15:30 - Session #5 16:15 - Retrospective, break 16:30 - Closing circle

Slide 7

Slide 7 text

The Coding-Dojo Mindset

Slide 8

Slide 8 text

The Coding-Dojo Mindset ● We are here to learn ● We need to slow down ● Focus on doing it right ● Collaboration

Slide 9

Slide 9 text

Conway's Game of Life

Slide 10

Slide 10 text

Conway's Game of Life 1. Any live cell with fewer than two live neighbours dies (underpopulation). 2. Any live cell with more than three live neighbours dies (overpopulation). 3. Any live cell with two or three live neighbours lives, unchanged, to the next generation. 4. Any dead cell with exactly three live neighbours will come to life (reproduction). https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life

Slide 11

Slide 11 text

Intro to TDD

Slide 12

Slide 12 text

Session 1

Slide 13

Slide 13 text

Session 1 - No Constrains Solve the problem and get use to the domain and its rules.

Slide 14

Slide 14 text

Delete your code!!

Slide 15

Slide 15 text

4 Rules of Simple Design 1. Passes the tests 2. Reveals intention 3. No duplication 4. Fewest elements

Slide 16

Slide 16 text

Session 2

Slide 17

Slide 17 text

Session 2 - Constrains TDD your solution Never write a line of code without a failing test!

Slide 18

Slide 18 text

Delete your code!!

Slide 19

Slide 19 text

Session 3

Slide 20

Slide 20 text

Session 3 - Constrains Choose at least one: No Methods / Functions > 3 Lines No Primitives

Slide 21

Slide 21 text

Delete your code!!

Slide 22

Slide 22 text

Session 4

Slide 23

Slide 23 text

Session 4 - Constrains No Mouse (Option 1) Sometimes we get a little too comfortable with the mouse, and forget about how much it slows us down when we have a job to do. Our text editors and IDEs are full of handy keyboard shortcuts for changing and navigating our code. Text editor only (Option 2)

Slide 24

Slide 24 text

Delete your code!!

Slide 25

Slide 25 text

Session 5

Slide 26

Slide 26 text

Session 5 - Constrains Choose at least one: No Conditionals No Mutations / No Assignments

Slide 27

Slide 27 text

Delete your code!!

Slide 28

Slide 28 text

Session 6

Slide 29

Slide 29 text

Session 6 - Constrains Evil Pair This is very much like Ping Pong, however when the developer makes the test pass they do so in a way that is counter to the solution they’re seeking. It’s fun to see a passing test suite in a solution that does nothing at all like it’s supposed to. Warning: This will stress folks’ creativity, and can lead to much laughter! Source: Jason Gorman

Slide 30

Slide 30 text

Raffle 3 free copies of “Agile Technical Practices Distilled” book

Slide 31

Slide 31 text

Raffle A Free 1-Year Subscription for any JetBrains product!

Slide 32

Slide 32 text

Closing Circle ● How did you feel? ● What have you learned? ● What will you apply starting Monday?