Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Kfir Bloch
Scala From The Trenches
Head of Backend Engineering @ Wix
@kfirondev
Introduction to TDD and clean code
Kfir Bloch
Your pic here
• Head of backend engineering @ Wix
• 17 years experience as hands-on developer
• Joined Wix 5 ye...
Definitions
01
@kfirondev
The essence of TDD
@kfirondev
Great software is something to marvel at: powerful,
elegant, functional, a pleasure to work with as both a
deve...
TDD & Clean code “Buzzwords”
Unit Test
Fakes
Collaborators
Stubs Matchers
Integration
Tests
Refactoring
Mocks
Contract
tes...
Use Case
02
Quiz
Prize server Database
Get - prize
Get - prize
OK
OK
Get - prize
Get - prize
Already played
Already played
Get - prize...
Quiz
Prize server Database
Get - prize
Get - prize
OK
OK
Get - prize
Already played
Get - prize
Get - prize
Get - prize
Ge...
Live Coding
03
Q&A
linkedin/in/blochkfir github.com/kfiron@kfirondevkfirb@wix.com
Kfir Bloch
Thank You
Wix Engineering Blog
http://engineering.wix.com/
We are hiring
http://jobs.wix.com
Kfir Bloch @kfirondev
email
j...
Upcoming SlideShare
Loading in …5
×

Scala from the Trenches

324 views

Published on

Slides that presents use case and go over definition before the live coding session

Published in: Engineering
  • Be the first to comment

  • Be the first to like this

Scala from the Trenches

  1. 1. Kfir Bloch Scala From The Trenches Head of Backend Engineering @ Wix @kfirondev Introduction to TDD and clean code
  2. 2. Kfir Bloch Your pic here • Head of backend engineering @ Wix • 17 years experience as hands-on developer • Joined Wix 5 years ago linkedin/in/blochkfir github.com/kfiron@kfirondevkfirb@wix.com
  3. 3. Definitions 01
  4. 4. @kfirondev The essence of TDD
  5. 5. @kfirondev Great software is something to marvel at: powerful, elegant, functional, a pleasure to work with as both a developer and as a user. Great software isn’t written by machines. It is written by professionals with an unshakable commitment to craftsmanship
  6. 6. TDD & Clean code “Buzzwords” Unit Test Fakes Collaborators Stubs Matchers Integration Tests Refactoring Mocks Contract tests www.maplecityrubber.com@kfirondev
  7. 7. Use Case 02
  8. 8. Quiz Prize server Database Get - prize Get - prize OK OK Get - prize Get - prize Already played Already played Get - prize Get - prize Get - prize Get - prize Get - prize Get - prize Get - prize Get - prize Get - prize Get - prize Already p. Already p. Already p. Already p. Already p. Already p. Already p. Already p. Already p. Already p. Database
  9. 9. Quiz Prize server Database Get - prize Get - prize OK OK Get - prize Already played Get - prize Get - prize Get - prize Get - prize Get - prize Already p. Already p. Already p. Already p. Already p. Fail fast pattern T H R O T T L E R Rolling window key (IP) Throttler
  10. 10. Live Coding 03
  11. 11. Q&A linkedin/in/blochkfir github.com/kfiron@kfirondevkfirb@wix.com Kfir Bloch
  12. 12. Thank You Wix Engineering Blog http://engineering.wix.com/ We are hiring http://jobs.wix.com Kfir Bloch @kfirondev email jobs@wix.com

×