Week 39, year 2014
- Objects as Contracts for Behaviour - A lot of so-called Object-Oriented Programming1 is in fact nothing more than procedural code wrapped in objects. The funny thing is: many people actually defend this style of programming! This is one of the chief arguments: “Objects should just be bags of state and nothing more. An invoice does not pay itself. An appointment does not reschedule itself. 2invoice. pay(anAmount)andappointment. [Mathias Verraes]
Permalink |
From 22 September 2014 to 28 September 2014 |
Last updated on: Mon, 7 Jun 2021 09:18:52 GMT