Lightning talk for OSDC.tw 2013
Hi, I am @hlb
View Slide
BYOCMy 5 years old project
BYODBuild Your Own Device
BYOCBuild Your Own Child
ୢ㉔ḏ႐ؔChildren DevelopmentGuideline
*WARNING*no version controlYou can not go back to a time
0. project initLet’s bypass it
0 1yr 2yr 3yr 4yr 5yr1. project sizealways increases
0 1yr 2yr 3yr 4yr 5yrDesigning the architectureat the beginningearly education is very important★
2. DRYDon’t Repeat YourselfThe Mom Songhttp://www.youtube.com/watch?v=yCgihsy-U2Q
repeated codes ➡ functionsDRY
create SOPsand let them do it themselves
3. Spend time on them
Make test and fix bugswhile adding new features
Elders may send-pror break it directlyFix it immediately and carefully*WARNING*
4. You can’t FORCEsomeone to do something
Mind Control
4.1 Make it FUN
PLAY
BUILD
DESIGN
PLAY ➡ DESIGN
4.2 Give them creditsWhen they have done something good
ө╽ֽۢݨᖧCoffee Machine
5. Pair Programming(with your other half)
LIVE DEMOReferenceError: children [ ] is not availableD
Conclusion• Early education is very important• DRY / SOP• Spend time on them. Make test andfix bugs while adding new features• You can’t FORCE someone to dosomething• Pair Programming
Programmersdo have lifein a programmer’s way.