Reducing boilerplate code with Sourcery

Mihails Tumkins
Chili Labs
Published in
Oct 9, 2017

We all write boilerplate code. Be it Equatable, Hashable or some data mapping, we all need to write boring repetitive code sometimes.

Recently I’ve encountered a tool which is great at doing this task in our place. The name is Sourcery a library created by Krzysztof Zabłocki.

Sourcery scans your source code, applies your personal templates and generates Swift code for you, allowing you to use meta-programming techniques to save time and decrease potential mistakes.

So what can it do for us?… read full article on chililabs.io

--

--