Are you a good scout? PHPNW Aug 2015

Post on 12-Feb-2017

4.980 views 2 download

Transcript of Are you a good scout? PHPNW Aug 2015

ARE YOU A GOOD SCOUT?

Matt Cockayne@phpboyscout

I’ve been a developer for well over a decade in one form or another!

I’ve been a Speaker for all of 30 seconds!

I’m also a Scout Leader

Its great fun being a Scout!

Its great fun being a Scout!

“Always leavethe

better than you found it”

campsite

codebase“Always leavethe

better than you found it”

We have now turned something that we teach kids aged 7 - 18 to do naturally, into something that we as developers should be doing every day.

• Add/Improve the

README.md

• Improve the docs

• Add a Doc Block

• Comment complexity

Putting up a sign

• useless comments

• obsolete code

• old components

• stray files

• defunct backups

Pick up some litter

• refactor a function or class

• fix a failing test

• write a new test (or two)

Repair a fence

Make sure you haven’t broken anything

Check all the tests pass

Write a sensible commit message

Being a good Scout is more than Dib Dib Dib

Hard Work

Determination

Ingenuity

Tenacity

Thanks

@phpboyscout

matt@phpboyscout.uk

If you would like to have fun being a Scout then please visit

scouts.org.uk/get-involved