Upgrade to Pro — share decks privately, control downloads, hide ads and more …

What's good code and How do I write it?

Francesco
December 03, 2016

What's good code and How do I write it?

Apresentação dada na CocoaHeads Conference Brasil 2016
Deckset: https://github.com/fpg1503/GoodCodeTalk

Francesco

December 03, 2016
Tweet

More Decks by Francesco

Other Decks in Programming

Transcript

  1. VS.

  2. !!!

  3. VS.

  4. !"

  5. !"#

  6. !!!

  7. HA!

  8. class TableOfContentsSpec: QuickSpec { override func spec() { describe("the 'Documentation'

    directory") { it("has everything you need to get started") { let sections = Directory("Documentation").sections expect(sections).to(contain("Organized Tests with Quick Examples and Example Groups")) expect(sections).to(contain("Installing Quick")) } context("if it doesn't have what you're looking for") { it("needs to be updated") { let you = You(awesome: true) expect{you.submittedAnIssue}.toEventually(beTruthy()) } } } } }
  9. GO

  10. !

  11. AH!