Conditional Coin Flips with Rock Paper Scissorsby@puyan-wei
377 reads

Conditional Coin Flips with Rock Paper Scissors

July 29th 2018
11 min
by @puyan-wei 377 reads
tldt arrow
Read on Terminal Reader🖨️
JS🚫

Too Long; Didn't Read

Test Driven Development (aka TDD) is a good way to test your code before writing it. The most common way of doing this is to write a test for a function that would return a number from 0 to 5. The next step would be to write one for returning 1.0 to 5. But for the sake of time, I’ll write a failing test for all the outcomes. This is not helpful in trying to create a non-intimidating, no-questions-are-stupid culture, which will help get more people into coding.

Company Mentioned

Mention Thumbnail
featured image - Conditional Coin Flips with Rock Paper Scissors
Puyan Wei HackerNoon profile picture

@puyan-wei

Puyan Wei

About @puyan-wei
LEARN MORE ABOUT @PUYAN-WEI'S EXPERTISE AND PLACE ON THE INTERNET.
react to story with heart

RELATED STORIES

L O A D I N G
. . . comments & more!
Hackernoon hq - po box 2206, edwards, colorado 81632, usa