3 ms·
I replaced one type of Future for another in a large Java codebase. Not productive. I had a colleague who wanted to rewrite the same piece of code using Obser
by mrkeen 7y ago
I replaced one type of Future for another in a large Java codebase. Not productive.
I had a colleague who wanted to rewrite the same piece of code using Observables instead.
Later in a different company I met someone who was working on the exact opposite, i.e. taking Observable code and rewriting it as Futures because "observables are confusing".
Just extract these things behind an interface and call it a day.
- AzzieElbab 7y agofutures have a lot of gottyas that make them hard to replace. for example, where and how you initialize them matters