devxoul / Then

✨ Super sweet syntactic sugar for Swift initializers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Question: Why use `then` instead of `with`?

CodeStage opened this issue · comments

What am I missing? Why can't I use with for everything? I have not run into a situation where with is not working... Why have both then and with?

Theoretically you can use with in all cases. with() API is added after then() API to support value types and I just didn't remove the existing then() API.