I Accidentally Wrote The Best Code of my Career – Michael Ries – @hqmq_



I Accidentally Wrote The Best Code of my Career – Michael Ries – @hqmq_

0 0


presentation-accidental-design

A presentation on design processes

On Github hqmq / presentation-accidental-design

I Accidentally Wrote The Best Code of my Career

Michael Ries

@hqmq_

Source: http://www.sportsgrid.com/wp-content/uploads/2014/07/all-shots.jpg
Source: http://i2.cdn.turner.com/cnn/dam/assets/140701183503-wc-best-ofusa-06-story-top.jpg

I Accidentally Wrote The Best Code of my Career

Michael Ries

@hqmq_

A Long Time Ago...

ACME is going to start sending us registrations. Can you make sure we flag them for marketing?
Sure thing boss!
How long will it take?
KTHXBAI!

Tests

Sample Data

Expert

...2 months later

...a pipeline...

...with logs...

...vendor-specific mapping...

...registration office at a University...

...with paperwork...

...translators for foreign students...

Protip

System Metaphor

- Kent Beck

Protip

Talk Out Loud

To Different Audiences

Protip

Intentional Abstraction

Protip

Draw BIG

Draw Small

Red

Green

Refactor

✓ Receptionist

✓ Translator

Vault...

Protip

Leave a Mess

- Sandi Metz

Can we fix registrations from X?
Yes, lets migrate them to the new system.
http://th08.deviantart.net/fs71/PRE/i/2012/313/8/8/i__m_a_leaf_on_the_wind_by_forevermelody-d5kgpor.jpg

Protip

Iterative Refinement

Protip

Tell a Story

Protip

Sleep On It

Did It Work?

Duplication is far cheaper than the wrong abstraction

- Sandi Metz

"All the little things" Ruby On Ales 2014

almost anything is far cheaper than the wrong abstraction

- Some Guy at Arrrrcamp

Creativity => Generate Ideas   Design Principles => Evaluate Ideas

Creativity

  • Verbal Description Technical
  • Verbal Description Non-Technical
  • Draw Big
  • Draw Small
  • Leave Messes
  • Name all your objects after Firefly characters
  • Tell Stories
  • Sleep On It

Plan Time for Design

Find a Team That Embraces Design

Thanks mxenabled.com!