Sliming in TDD (Fake it 'til you make it) | Code Walks 024

  Рет қаралды 1,837

Christopher Okhravi

Christopher Okhravi

Күн бұрын

One of the rules of TDD states that "you are not allowed to write any more production code than is sufficient to pass the one failing unit test". This is also known as "sliming" or "fake it 'til you make it".
It is a seemingly idiotic practice with massive benefits. 1) It helps you achieve and maintain flow. 2) It helps you increase test coverage. 3) If interpreted strictly together with the Transformation Priority Principle it helps you design better algorithms.
VIDEO MENTIONED
• Robert C Martin - The ...
GEAR USED
► CAMERA: Canon 70D amzn.to/29wR8wG
► LENS: Canon 10-18mm amzn.to/29srabL
► TRIPOD: JOBY Gorillapod Zoom amzn.to/29AdkHT

Пікірлер: 7
@dmoka
@dmoka 3 жыл бұрын
This is AWESOME! You nailed it, thanks for this, Christopher!
@gigajoules6636
@gigajoules6636 5 жыл бұрын
"If I walk further I can teach more, so if I go faster I can teach the most."
@nisevi
@nisevi 6 жыл бұрын
hi there :) ! do you still have the link to the video you said you were going to paste on the comments ?
@ChristopherOkhravi
@ChristopherOkhravi 6 жыл бұрын
The video is called "The Transformation Priority Premise" kzbin.info/www/bejne/eGqWgpiwrLmEpqs I added it to the description now. Sorry about that :) :) Thanks for watching and thanks for bringing the missing link to my attention :)
@ekstrajohn
@ekstrajohn 6 жыл бұрын
With those skating and talking skills , maybe you should have added the Madonna song "Ray of Light" in the background. :D Great vid as always, but I made it better by doing exactly that.
@jamesp9823
@jamesp9823 Жыл бұрын
I thought it was called sliming because slime is green and you're making the test green
@gigajoules6636
@gigajoules6636 5 жыл бұрын
Sweden is pretty flat, huh?
Interface Segregation Principle (SOLID) | Code Walks 023
5:18
Christopher Okhravi
Рет қаралды 39 М.
The Only Time You Should Use Polymorphism
13:55
Christopher Okhravi
Рет қаралды 88 М.
NERF WAR HEAVY: Drone Battle!
00:30
MacDannyGun
Рет қаралды 49 МЛН
Жайдарман | Туған күн 2024 | Алматы
2:22:55
Jaidarman OFFICIAL / JCI
Рет қаралды 1,6 МЛН
Получилось у Вики?😂 #хабибка
00:14
ХАБИБ
Рет қаралды 7 МЛН
3 Ideas on Refactoring
0:59
Christopher Okhravi
Рет қаралды 11 М.
Microsoft's Fingerprint Reader for Windows XP
13:17
Michael MJD
Рет қаралды 64 М.
Should We Build EVERYTHING In Kubernetes? | Kelsey Hightower
8:27
Continuous Delivery
Рет қаралды 7 М.
Depend on Abstractions not Concretions (Framework)
11:56
Christopher Okhravi
Рет қаралды 15 М.
They Knew Waterfall Didn't Work
6:36
Christopher Okhravi
Рет қаралды 12 М.
Covariance and Contravariance
13:31
Christopher Okhravi
Рет қаралды 11 М.
The Square-Rectangle Problem
9:59
Christopher Okhravi
Рет қаралды 9 М.