When our test suite grows we start to notice that some parts of our code get duplicated. Duplicated code decreases readability and is hard to manage since eventual changes or fixes have to be propagated to all duplicated parts. Solution to such situation is to keep your code DRY meaning ‘Don’t repeat yourself’. This is one of the most basic programming principles that we should also use while writing specs for our applications.
Some time ago, I got assigned to the enigmatic task of analyzing and implementing the integration with a new payment provider for our client’s Austrian services. The requirement was straightforward: the new payment service should be Adyen, as Adyen supports SEPA payments. Here is the story about how it all played out.
Frontend apps are getting big, and it’s becoming difficult to manage their complexity. React with Redux seems to be the way to go, but it still has one piece not baked in, and it can bite you hard when your app grows.