The Seven Deadly Coding Sins Slides
of 17
/17
-
Author
mobiledevnj -
Category
Technology
-
view
521 -
download
4
Embed Size (px)
description
Transcript of The Seven Deadly Coding Sins Slides
- 1. 7 Deadly Coding Sins Presented By: Gary Rattray Mobile Dev NJ Meetup
- 2. Google them all... Programming Programmers Coding...
- 3. Dont Duplicate Code
- 4. Create Unit Tests
- 5. Example
- 6. Naming Methods
- 7. Naming Functions
- 8. Comments
- 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. Spaghetti Code
- 11. Complexity
- 12. Design Spaghetti
- 13. Potential Bugs
- 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_workow/135- Unit_Testing_Applications/ unit_testing_applications.html QUESTIONS?
- 15. Sins1. Duplication2. Lack of Unit Tests3. Complexity4. Potential Bugs5. Coding Standards6. Design Spaghetti7. Comments
- 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_workow/135- Unit_Testing_Applications/ unit_testing_applications.html QUESTIONS?