Re:“Lambda and serverless is one of the worst forms of propr...
by geertj on Tuesday February 05, 2019 @07:02AM
(#19084533)
> it's cheaper to pay the cost of the migration when you know you want to migrate
Agreed, on principle and based on experience. This does require you have reasonable abstractions in place as otherwise you’ll end up refactoring before you can migrate. But that’s a good thing in any case.
Whether it's DB independence or cloud provider independence, from my experience it's cheaper to pay the cost of the migration when you know you want to migrate (even if it involves rewriting some parts) rather than paying it everyday by writing portable code.
Most of the time the portable code you write becomes obsolete before you want to port it.