• Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
271
On Slideshare
0
From Embeds
0
Number of Embeds
1

Actions

Shares
Downloads
1
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. 7 Deadly Coding Sins Presented By: Gary Rattray Mobile Dev NJ Meetup
  • 2. Google them all...• Programming• Programmers• Coding...
  • 3. Don’t 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_workflow/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_workflow/135- Unit_Testing_Applications/ unit_testing_applications.html • QUESTIONS?