Software Dev

Uber’s Piranha Eats Your Stale Code

Feature flags are a great way to selectively introduce new features. it allows you to experiment and commit incrementally.

The only down-side to feature flags all the extra code, and in particular going back later together rid of all the crusty flag code flagging you feature on or off. This kind of tech debt can really pile up over time.

Apparently Uber uses feature flags in the thousands and without remorse. So they came up with this automatic way to wipe out your stale, disabled code. Perfect name, too!

πŸ‘‰ Introducing Piranha: An Open Source Tool to Automatically Delete Stale Code | on GitHub

Via iOS Dev Weekly. See also: The Mother of All Feature Flagging Systems for iOS

Software Dev

Swift CI and Source Compatibility

Great idea: the Swift programming language has a continuous integration system constantly building various versions of Swift against various Mac and Linux platforms. Now that’s good modern software process, and super cool that its publicly visible.

Even better, this continuous integration is continually building third-party projects using the latest versions of Swift to make sure everything is a-okay. This is the Swift Source Compatibility Suite.

And best of all, that page has instructions for adding your own project to the list. That way you can make sure Swift and your project continue to get along fine. πŸ€— That’s a win-win.

Via iOS Dev Weekly.