The Seven Deadly Coding Sins Slides

450 views

Published on

Published in: Technology
  • Be the first to comment

  • Be the first to like this

The Seven Deadly Coding Sins Slides

  1. 1. 7 Deadly Coding Sins Presented By: Gary Rattray Mobile Dev NJ Meetup
  2. 2. Google them all...• Programming• Programmers• Coding...
  3. 3. Don’t Duplicate Code
  4. 4. Create Unit Tests
  5. 5. Example
  6. 6. Naming Methods
  7. 7. Naming Functions
  8. 8. Comments
  9. 9. Spaghetti Code Spaghetti code is a pejorative term for source code that has a complex and tangled control structure, especially one using many GOTOs, exceptions, threads, or other"unstructured" branching constructs.
  10. 10. Spaghetti Code
  11. 11. Complexity
  12. 12. Design Spaghetti
  13. 13. Potential Bugs
  14. 14. Resources• http://developer.apple.com/library/mac/ #documentation/Cocoa/Conceptual/ CodingGuidelines/CodingGuidelines.html• http://developer.apple.com/library/ios/ #documentation/Xcode/Conceptual/ ios_development_workflow/135- Unit_Testing_Applications/ unit_testing_applications.html • QUESTIONS?
  15. 15. Sins1. Duplication2. Lack of Unit Tests3. Complexity4. Potential Bugs5. Coding Standards6. Design Spaghetti7. Comments
  16. 16. Resources• http://developer.apple.com/library/mac/ #documentation/Cocoa/Conceptual/ CodingGuidelines/CodingGuidelines.html• http://developer.apple.com/library/ios/ #documentation/Xcode/Conceptual/ ios_development_workflow/135- Unit_Testing_Applications/ unit_testing_applications.html • QUESTIONS?

×