This is Truewill's Typepad Profile.
Join Typepad and start following Truewill's activity
Truewill
Recent Activity
Well said.
The same is true of Service Locator:
http://blog.ploeh.dk/2010/02/03/ServiceLocatorIsAnAntiPattern.aspx
Global Variables Destroy Design Information
I don't know where I first heard that global variables were bad. It was probably in school. The rationale that I remember is that they make it hard to reason about your code. You look at a function and unless you look closely you may miss the fact that it reads or updates something that isn...
(Please ignore the bit about Primitive Obsession - I misread the article.)
Finessing Away Errors
I think I've written about this before but I don't care. I'm going to keep harping on it. Error detection and handling should be on the edges of programs, not on the inside. You shouldn't have to get halfway through your execution to discover that something is wrong. It's nice to have this so...
Would you say that the issue is Primitive Obsession and that a variation of the Null Object Pattern was the solution in this case?
Finessing Away Errors
I think I've written about this before but I don't care. I'm going to keep harping on it. Error detection and handling should be on the edges of programs, not on the inside. You shouldn't have to get halfway through your execution to discover that something is wrong. It's nice to have this so...
Truewill is now following The Typepad Team
Sep 16, 2011
Subscribe to Truewill’s Recent Activity