19:00: Welcome Drinks
19:30 - 20:30: Talk
20:30 - 20:45: Raffles, and announcements
20:45: Social, drinks and Pizza
Talk: Money often costs too much
A large proportion of what developers deal with is the manipulation of money. However, money is not a first class citizen in PHP. There is no built-in type, while there is one for date manipulation. This is not only a problem for multi-currency applications, there are also drawbacks for not using an object in single-currency applications.
Problems occur when calculations are rounded or when an amount is shared among domains. Furthermore, how should we deal with amounts that overflow the maximum or minimum integer in PHP? Existing concepts like immutability, value objects, final objects, single responsibility, decorators and composition can help to solve these issues. The talk will zoom-in on the theory of those concepts and how they contributed to the popular Money PHP library.
Speaker: Frederik Bosch