Object-Oriented Solutions: Avoiding Getters

Alice and Bob were both working in a small team for an international broker, creating an application to react to certain events in the market. The application's architecture was centered around Trades, that represents a transaction between a buyer and a seller exchanging something of value on an exchange. The initial implementation of a Trade … Continue reading Object-Oriented Solutions: Avoiding Getters

Object-Oriented Solutions: Accounts and Currencies

This article is about a simplified version of real code running at a financial institution and how maintenance problems with this code can be avoided by using Object-Oriented Design. The purpose of the code is to represent retail money Accounts and enable transferring money, define recurring transfers and to support the usual functionality you find … Continue reading Object-Oriented Solutions: Accounts and Currencies