CLEAN CODE IS NOT THE        GOALWORKING SOFTWARE IS     Volker Dusch / @__edorian
ABOUT MEPHP since 10 yearsCICleanCodeDevOpsTDDShipping
GET IN TOUCHstackoverflow:Twitter: @__edorianXing / G+: Volker DuschIRC: edorianMail: php@wallbash.com
CLEAN CODE IN 10 OR LESS      BUZZWORDS         Readable         Structured         Tested         Pretty         Document...
SO WHAT ABOUT CLEAN       CODE? You maybe came here to hear about clean code
IM SORRY
- Nitsches Webmaster
AND WE KILLED ITWhen people say "clean" do you think of:               Wordpress?               Drupal?               Typo...
WHY NOT?Estimated value generated by Drupal in 2012 is about 7gazilion Dollar.
CLEAN IS MORE THAN JUST PRETTYThese projects dont generate that value by being clean, wellstructured or easily maintainabl...
CLEAN CODE IS NOT THE GOAL
"SHIPPING IT" IS!
SO CLEAN CODE IS WORTHLESS?Everything you do should help you to continously deliver tangable                             v...
AND IF ITS NOT HELPING?Communicate it as waste and get rid of it
CLEAN THINGS  Code  Infrastructure  Workflows (Processes)  Communication  Leadership
CLEAN CODE
WHAT IS "CODE"?Code is something that software engineers produce
SO WHAT DO ENGINEERS PRODUCE?               DESIGN DOCUMENTS!Architects produce blue prints.Houses are build from them.Ele...
WHAT DO WE PRODUCE?We produce source code.Software is produced using that blue print.
SOURCE CODE IS NOT THE PRODUCT   We dont deliver source code   Source code is not what we get paid for   Its the final des...
WE DELIVER WORKING SOFTWARE     Compile the source     Add the asserts     Patches and migration pathes     Deployment
SOFTWARE IS SPECIAL Building is really cheap Designing is really expensive
MAINTAINING SOFTWARE IS ALSO SPECIAL  Since building is cheap you can change stuff easily
DO YOU NEED YOUR DESIGN DOCUMENTS TO CHANGE?
"BUILD THE RIGHT IT"     And then build "it" right
CLEAN ARCHITECTUREhttp://blog.8thlight.com/uncle-bob/2012/08/13/the-clean-                      architecture.html         ...
SO CLEAN CODE DOESNT MATTER?You said if its not helping me I can get rid of it!
SHU HA RILearn, detach, transend http://pragprog.com/magazines/2010-                         11/shu-ha-ri  No understandin...
CLEAN INFRASTRUCTURE  With great hardware comes great responsibilty
HARDWARE        Some people somewhere still care about Hardware.Thank them for running the internet when you meet them som...
VIRTUALISATION     Something to throw new boxes at you           Sysadmins           The Cloud(s)           Automated clou...
INFRASTRUCTURE BECAME CODE  Cloud APIs  Installing Services     Puppet     Chef     Your own solution     Whatever works! ...
CODE IS IMPORTANT   So put it in SCM!
SERIOUSLY!PUT IT IN SCM!
NO MORE SSH          There is no SSH!Only Puppet, mcollective and graylog2
SHIPPINGTesting   Automated tests against the code base   Automated tests against a stage server   Manual QAPackaging and ...
CLEAN WORKFLOWS
CLEAN COMMUNICATION
THANK YOU                    PLEASE PROVIDE FEEDBACK:                            Froscon:https://frab.froscon.org/froscon2...
Clean code is not the goal - working software is
Clean code is not the goal - working software is
Clean code is not the goal - working software is
Clean code is not the goal - working software is
Upcoming SlideShare
Loading in...5
×

Clean code is not the goal - working software is

1,065

Published on

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
1,065
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
9
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Transcript of "Clean code is not the goal - working software is"

  1. 1. CLEAN CODE IS NOT THE GOALWORKING SOFTWARE IS Volker Dusch / @__edorian
  2. 2. ABOUT MEPHP since 10 yearsCICleanCodeDevOpsTDDShipping
  3. 3. GET IN TOUCHstackoverflow:Twitter: @__edorianXing / G+: Volker DuschIRC: edorianMail: php@wallbash.com
  4. 4. CLEAN CODE IN 10 OR LESS BUZZWORDS Readable Structured Tested Pretty Documented Well designed Self explanatory SOLID Concise Well architected
  5. 5. SO WHAT ABOUT CLEAN CODE? You maybe came here to hear about clean code
  6. 6. IM SORRY
  7. 7. - Nitsches Webmaster
  8. 8. AND WE KILLED ITWhen people say "clean" do you think of: Wordpress? Drupal? Typo? phpBB? Magento?
  9. 9. WHY NOT?Estimated value generated by Drupal in 2012 is about 7gazilion Dollar.
  10. 10. CLEAN IS MORE THAN JUST PRETTYThese projects dont generate that value by being clean, wellstructured or easily maintainable but they work, you can get somewhere quickly, validate ideas, deliver.
  11. 11. CLEAN CODE IS NOT THE GOAL
  12. 12. "SHIPPING IT" IS!
  13. 13. SO CLEAN CODE IS WORTHLESS?Everything you do should help you to continously deliver tangable value!
  14. 14. AND IF ITS NOT HELPING?Communicate it as waste and get rid of it
  15. 15. CLEAN THINGS Code Infrastructure Workflows (Processes) Communication Leadership
  16. 16. CLEAN CODE
  17. 17. WHAT IS "CODE"?Code is something that software engineers produce
  18. 18. SO WHAT DO ENGINEERS PRODUCE? DESIGN DOCUMENTS!Architects produce blue prints.Houses are build from them.Electrical engineers produce circut board diagramms.Boards are build with those designs imprinted.
  19. 19. WHAT DO WE PRODUCE?We produce source code.Software is produced using that blue print.
  20. 20. SOURCE CODE IS NOT THE PRODUCT We dont deliver source code Source code is not what we get paid for Its the final design document
  21. 21. WE DELIVER WORKING SOFTWARE Compile the source Add the asserts Patches and migration pathes Deployment
  22. 22. SOFTWARE IS SPECIAL Building is really cheap Designing is really expensive
  23. 23. MAINTAINING SOFTWARE IS ALSO SPECIAL Since building is cheap you can change stuff easily
  24. 24. DO YOU NEED YOUR DESIGN DOCUMENTS TO CHANGE?
  25. 25. "BUILD THE RIGHT IT" And then build "it" right
  26. 26. CLEAN ARCHITECTUREhttp://blog.8thlight.com/uncle-bob/2012/08/13/the-clean- architecture.html STAY FOR THE NEXT TALK!
  27. 27. SO CLEAN CODE DOESNT MATTER?You said if its not helping me I can get rid of it!
  28. 28. SHU HA RILearn, detach, transend http://pragprog.com/magazines/2010- 11/shu-ha-ri No understanding: Copy the master Some understanding: Try variations Mastery: Get stuff done without hitting walls down the road
  29. 29. CLEAN INFRASTRUCTURE With great hardware comes great responsibilty
  30. 30. HARDWARE Some people somewhere still care about Hardware.Thank them for running the internet when you meet them some time.
  31. 31. VIRTUALISATION Something to throw new boxes at you Sysadmins The Cloud(s) Automated cloud provisioning Private cloudsGetting the hardware is not complicated anymore.
  32. 32. INFRASTRUCTURE BECAME CODE Cloud APIs Installing Services Puppet Chef Your own solution Whatever works! Automated scaling Automated (data) recovery Even DEV Boxes! No more "change this" mails! Work faster on multiple Projects!
  33. 33. CODE IS IMPORTANT So put it in SCM!
  34. 34. SERIOUSLY!PUT IT IN SCM!
  35. 35. NO MORE SSH There is no SSH!Only Puppet, mcollective and graylog2
  36. 36. SHIPPINGTesting Automated tests against the code base Automated tests against a stage server Manual QAPackaging and Distributing Deploy from GIT Build .tar.gz / .deb / .rpm Packages BitTorrent Whatever works WELL for you
  37. 37. CLEAN WORKFLOWS
  38. 38. CLEAN COMMUNICATION
  39. 39. THANK YOU PLEASE PROVIDE FEEDBACK: Froscon:https://frab.froscon.org/froscon2012/public/events/969/feedback/new Joind.in http://joind.in/7013
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×