Micro or Tiny types present an approach to coding which seems to divide opinion in my experience, from those who think it's a brilliant idea to those who believe it's static typing gone mad. I fall into the former group. So what is it? The idea is fairly simple - all primitives and strings in our code are wrapped by a class, meaning that we never pass primitives around. In essence Rule #3 of Jeff Bay's Object Calisthenics. As I mentioned on a previous post about wrapping dates, I was first introduc...
|
3
shouts |
|
|||
No comments yet, be the first one to post comment.