Week 40, year 2013
- Verbs in Class Names - When you first learned Object Oriented Programming, somebody probably told you that objects map to things. And that still holds true most of the time. And maybe somebody explained it using the simple heuristic to “look for the nouns”, which can indeed be a great discovery technique. But then somebody probably phrased that as “class names should not have verbs in them”. To me, that rule is severely limiting the possibilities for your models. So here are some cases where I prefer to use verbs. [Mathias Verraes]
Permalink |
From 30 September 2013 to 06 October 2013 |
Last updated on: Mon, 7 Jun 2021 09:18:52 GMT