3

Kotlin Engineering - Feature Flags to Bypass Branches

 2 years ago
source link: https://www.youtube.com/watch?v=40o9Q-Qn4SM
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Kotlin Engineering - Feature Flags to Bypass Branches

We're about to start work on a long-running story, but don't want the changes to be visible until work is complete. We could work on a branch, but that's tedious and hard work, especially in a large codebase (which this isn't ;-).

So instead today we add a feature flag that will allow us to see changes as we make progress, but hide those changes from production.

This is Part 38 of an exploration of where a Test Driven Development implementation of the Gilded Rose stock control system might take us in Kotlin. You can see the whole series as a playlist https://www.youtube.com/playlist?list... and the code on GitHub https://github.com/dmcg/gilded-rose-tdd

If you like this, you’ll probably like the book Java to Kotlin, A Refactoring Guidebook http://java-to-kotlin.dev. We have a whole chapter devoted to the relationship between classes and functions, and how to thunk between them.

Show lessShow more


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK