DEV Community

Clean code gamified

Kodengo on August 27, 2018

  1. invert a random if statement
  2. run the unit tests
  3. if the tests pass, drink
Collapse
 
tux0r profile image
tux0r

Also: 4. When your drink is empty, release.

Collapse
 
cjbrooks12 profile image
Casey Brooks

I'm dying! 😂

Collapse
 
cjbrooks12 profile image
Casey Brooks

There's a Java version of this too, Pitest

Collapse
 
kayis profile image
K

For JS too: Stryker

Collapse
 
kodengo_com profile image
Kodengo

Does it drink?