TCR - A cocktail for extreme productivity

  • Raghunath Mobile Ragunath Jawahar
D9u Rjc U0 A Aoy UO

What slows us down? Bad code. What if someone waved a magic wand and made bad code disappear? Imagine a world where everyone checks-in only good code. That opens up a lot of possibilities.

TCR (test && commit || revert) is a new workflow invented by Kent Beck. The idea is simple – write tests and production code. If the tests pass, code gets checked-in automatically. If it fails, then the tooling performs a "git reset –hard", discarding any code that was written. You may have a lot of mixed feelings about this and so did I, but it works! TCR is surprisingly fast and effective. In this talk, I’ll demonstrate how we can use TCR to build a mobile app in Kotlin using IntelliJ IDEA.