Pairing, fast and slow
-
Upload
tai-su -
Category
Technology
-
view
250 -
download
2
description
Transcript of Pairing, fast and slow
![Page 1: Pairing, fast and slow](https://reader033.fdocuments.in/reader033/viewer/2022051313/5498697cb47959654d8b5417/html5/thumbnails/1.jpg)
Hello
![Page 2: Pairing, fast and slow](https://reader033.fdocuments.in/reader033/viewer/2022051313/5498697cb47959654d8b5417/html5/thumbnails/2.jpg)
![Page 3: Pairing, fast and slow](https://reader033.fdocuments.in/reader033/viewer/2022051313/5498697cb47959654d8b5417/html5/thumbnails/3.jpg)
PAIRING,FAST and SLOW
![Page 4: Pairing, fast and slow](https://reader033.fdocuments.in/reader033/viewer/2022051313/5498697cb47959654d8b5417/html5/thumbnails/4.jpg)
i18n蘇泰安 f taiansu
README.mdaboutćmeftaiansu
logdo Ŷćyear 電腦雜誌技術編輯 endgem install railsvalidates čhaveYscjp Ṡẞ truemvim jćrbĉ jćjsworkYat OptimisDevrfronYend j ẄćỶ Ś backYend j ẄćŶ
![Page 5: Pairing, fast and slow](https://reader033.fdocuments.in/reader033/viewer/2022051313/5498697cb47959654d8b5417/html5/thumbnails/5.jpg)
What is pair programming
![Page 6: Pairing, fast and slow](https://reader033.fdocuments.in/reader033/viewer/2022051313/5498697cb47959654d8b5417/html5/thumbnails/6.jpg)
Two programmers at one computerOne drivesċ the other navigatesSwitching roles fluidlyThey constantly communicate
![Page 7: Pairing, fast and slow](https://reader033.fdocuments.in/reader033/viewer/2022051313/5498697cb47959654d8b5417/html5/thumbnails/7.jpg)
Why Pairing
![Page 8: Pairing, fast and slow](https://reader033.fdocuments.in/reader033/viewer/2022051313/5498697cb47959654d8b5417/html5/thumbnails/8.jpg)
Ỳć reduction in defect rates of ỲẎỜ to ẎẄỜÝć better designĉ simplerĉ moreQmaintainable codeŶć impossible problems become easy or even quick
![Page 9: Pairing, fast and slow](https://reader033.fdocuments.in/reader033/viewer/2022051313/5498697cb47959654d8b5417/html5/thumbnails/9.jpg)
Way more fun then it sounds
![Page 10: Pairing, fast and slow](https://reader033.fdocuments.in/reader033/viewer/2022051313/5498697cb47959654d8b5417/html5/thumbnails/10.jpg)
productivity && fun
![Page 11: Pairing, fast and slow](https://reader033.fdocuments.in/reader033/viewer/2022051313/5498697cb47959654d8b5417/html5/thumbnails/11.jpg)
Ninja( feel like )
![Page 12: Pairing, fast and slow](https://reader033.fdocuments.in/reader033/viewer/2022051313/5498697cb47959654d8b5417/html5/thumbnails/12.jpg)
Herbert Simon:I 情境提供了線索ĉ
線索讓專家得以提取記憶中的訊息ĉ而訊息提供了答案。
專家直覺就是辨識,不多也不少,就是它。 J
![Page 13: Pairing, fast and slow](https://reader033.fdocuments.in/reader033/viewer/2022051313/5498697cb47959654d8b5417/html5/thumbnails/13.jpg)
![Page 14: Pairing, fast and slow](https://reader033.fdocuments.in/reader033/viewer/2022051313/5498697cb47959654d8b5417/html5/thumbnails/14.jpg)
![Page 15: Pairing, fast and slow](https://reader033.fdocuments.in/reader033/viewer/2022051313/5498697cb47959654d8b5417/html5/thumbnails/15.jpg)
![Page 16: Pairing, fast and slow](https://reader033.fdocuments.in/reader033/viewer/2022051313/5498697cb47959654d8b5417/html5/thumbnails/16.jpg)
Two system
![Page 17: Pairing, fast and slow](https://reader033.fdocuments.in/reader033/viewer/2022051313/5498697cb47959654d8b5417/html5/thumbnails/17.jpg)
![Page 18: Pairing, fast and slow](https://reader033.fdocuments.in/reader033/viewer/2022051313/5498697cb47959654d8b5417/html5/thumbnails/18.jpg)
System 1automaticllyquicklylittle or no effortno sense of voluntart control
![Page 19: Pairing, fast and slow](https://reader033.fdocuments.in/reader033/viewer/2022051313/5498697cb47959654d8b5417/html5/thumbnails/19.jpg)
17 * 24
![Page 20: Pairing, fast and slow](https://reader033.fdocuments.in/reader033/viewer/2022051313/5498697cb47959654d8b5417/html5/thumbnails/20.jpg)
CPU bound
![Page 21: Pairing, fast and slow](https://reader033.fdocuments.in/reader033/viewer/2022051313/5498697cb47959654d8b5417/html5/thumbnails/21.jpg)
Pay attention
![Page 22: Pairing, fast and slow](https://reader033.fdocuments.in/reader033/viewer/2022051313/5498697cb47959654d8b5417/html5/thumbnails/22.jpg)
System 2conscious and resoningallocates attentionslowhave boundrylazyĉ lazyĉ lazy
![Page 23: Pairing, fast and slow](https://reader033.fdocuments.in/reader033/viewer/2022051313/5498697cb47959654d8b5417/html5/thumbnails/23.jpg)
Cache things to System 1
![Page 24: Pairing, fast and slow](https://reader033.fdocuments.in/reader033/viewer/2022051313/5498697cb47959654d8b5417/html5/thumbnails/24.jpg)
system_1 += system_2take 10,000 hours
![Page 25: Pairing, fast and slow](https://reader033.fdocuments.in/reader033/viewer/2022051313/5498697cb47959654d8b5417/html5/thumbnails/25.jpg)
![Page 26: Pairing, fast and slow](https://reader033.fdocuments.in/reader033/viewer/2022051313/5498697cb47959654d8b5417/html5/thumbnails/26.jpg)
Müller Lyer illusion
![Page 27: Pairing, fast and slow](https://reader033.fdocuments.in/reader033/viewer/2022051313/5498697cb47959654d8b5417/html5/thumbnails/27.jpg)
![Page 28: Pairing, fast and slow](https://reader033.fdocuments.in/reader033/viewer/2022051313/5498697cb47959654d8b5417/html5/thumbnails/28.jpg)
![Page 29: Pairing, fast and slow](https://reader033.fdocuments.in/reader033/viewer/2022051313/5498697cb47959654d8b5417/html5/thumbnails/29.jpg)
Think pair programmingthis way
![Page 30: Pairing, fast and slow](https://reader033.fdocuments.in/reader033/viewer/2022051313/5498697cb47959654d8b5417/html5/thumbnails/30.jpg)
The driverfocuses on tactics:
writing clean code that runs and pass the testć
![Page 31: Pairing, fast and slow](https://reader033.fdocuments.in/reader033/viewer/2022051313/5498697cb47959654d8b5417/html5/thumbnails/31.jpg)
The navigatorfocuses on strategy:
how the code fits into the overall designwhich tests will drive the code forwardwhich refactorings will improve the entire codebase
![Page 32: Pairing, fast and slow](https://reader033.fdocuments.in/reader033/viewer/2022051313/5498697cb47959654d8b5417/html5/thumbnails/32.jpg)
Our Case
![Page 33: Pairing, fast and slow](https://reader033.fdocuments.in/reader033/viewer/2022051313/5498697cb47959654d8b5417/html5/thumbnails/33.jpg)
Goal
![Page 34: Pairing, fast and slow](https://reader033.fdocuments.in/reader033/viewer/2022051313/5498697cb47959654d8b5417/html5/thumbnails/34.jpg)
Discuss
![Page 35: Pairing, fast and slow](https://reader033.fdocuments.in/reader033/viewer/2022051313/5498697cb47959654d8b5417/html5/thumbnails/35.jpg)
& Code
![Page 36: Pairing, fast and slow](https://reader033.fdocuments.in/reader033/viewer/2022051313/5498697cb47959654d8b5417/html5/thumbnails/36.jpg)
![Page 37: Pairing, fast and slow](https://reader033.fdocuments.in/reader033/viewer/2022051313/5498697cb47959654d8b5417/html5/thumbnails/37.jpg)
What we found
![Page 38: Pairing, fast and slow](https://reader033.fdocuments.in/reader033/viewer/2022051313/5498697cb47959654d8b5417/html5/thumbnails/38.jpg)
Set up a goal everytime
![Page 39: Pairing, fast and slow](https://reader033.fdocuments.in/reader033/viewer/2022051313/5498697cb47959654d8b5417/html5/thumbnails/39.jpg)
TDD is great for pairing
![Page 40: Pairing, fast and slow](https://reader033.fdocuments.in/reader033/viewer/2022051313/5498697cb47959654d8b5417/html5/thumbnails/40.jpg)
Stay talking
![Page 41: Pairing, fast and slow](https://reader033.fdocuments.in/reader033/viewer/2022051313/5498697cb47959654d8b5417/html5/thumbnails/41.jpg)
shared knowledgeboth technique
and your application
![Page 42: Pairing, fast and slow](https://reader033.fdocuments.in/reader033/viewer/2022051313/5498697cb47959654d8b5417/html5/thumbnails/42.jpg)
You'll know your partner more
![Page 43: Pairing, fast and slow](https://reader033.fdocuments.in/reader033/viewer/2022051313/5498697cb47959654d8b5417/html5/thumbnails/43.jpg)
improve communicationability
![Page 44: Pairing, fast and slow](https://reader033.fdocuments.in/reader033/viewer/2022051313/5498697cb47959654d8b5417/html5/thumbnails/44.jpg)
rest frequently
![Page 45: Pairing, fast and slow](https://reader033.fdocuments.in/reader033/viewer/2022051313/5498697cb47959654d8b5417/html5/thumbnails/45.jpg)
Result
![Page 46: Pairing, fast and slow](https://reader033.fdocuments.in/reader033/viewer/2022051313/5498697cb47959654d8b5417/html5/thumbnails/46.jpg)
3 days30 LOC
plus test
![Page 47: Pairing, fast and slow](https://reader033.fdocuments.in/reader033/viewer/2022051313/5498697cb47959654d8b5417/html5/thumbnails/47.jpg)
U no pair?
![Page 48: Pairing, fast and slow](https://reader033.fdocuments.in/reader033/viewer/2022051313/5498697cb47959654d8b5417/html5/thumbnails/48.jpg)
Office settingBoss
Culture
![Page 49: Pairing, fast and slow](https://reader033.fdocuments.in/reader033/viewer/2022051313/5498697cb47959654d8b5417/html5/thumbnails/49.jpg)
ToolsScreenHero with Skypetmux
![Page 50: Pairing, fast and slow](https://reader033.fdocuments.in/reader033/viewer/2022051313/5498697cb47959654d8b5417/html5/thumbnails/50.jpg)
It's an insurance
![Page 51: Pairing, fast and slow](https://reader033.fdocuments.in/reader033/viewer/2022051313/5498697cb47959654d8b5417/html5/thumbnails/51.jpg)
名為'信賴'的模型
martz 松本行弘的程式世界, 2009
I 但是,從前面的的討論也能發現,會發生這些問題的「大規模開發」,
顯然也不是什麼幸福的狀況。
是不是應該先改善專案內的信賴關係,直到足以採用Ruby的程度為止。就算最後決定不使用Ruby也一樣 J
![Page 52: Pairing, fast and slow](https://reader033.fdocuments.in/reader033/viewer/2022051313/5498697cb47959654d8b5417/html5/thumbnails/52.jpg)
Fear
![Page 53: Pairing, fast and slow](https://reader033.fdocuments.in/reader033/viewer/2022051313/5498697cb47959654d8b5417/html5/thumbnails/53.jpg)
How to doOEREILLYč The Art of Agileĉ Chć ẎćỲ
How they doPeepCodeč play by play series
bitćlyfWbAÝbH
![Page 54: Pairing, fast and slow](https://reader033.fdocuments.in/reader033/viewer/2022051313/5498697cb47959654d8b5417/html5/thumbnails/54.jpg)
Thank youany questions?