718 reputation
15
bio website
location San Diego, CA
age 39
visits member for 1 year, 5 months
seen Oct 8 '13 at 19:21

Oct
26
awarded  Yearling
Feb
8
comment Helper static methods in TDD
Given that the example cases seems like a grab-bag utility object, I think this answer is the better approach in the spirit of interface segregation principle.
Jan
28
comment Representing complex object dependencies
You say " each object knows the proper parameters to pass to the constructors of the objects it contains. " and some other exposition about wanting to "reach into" the logic to set or otherwise override behavior. In this context, one way to do a more IoC approach would be to instead have the inner logic call back or raise an event when it is time to make a decision about what it does next or when it needs something to move forward. Another IoC approach would be to inject an appropriate factory (or factories) or strategy or one of the other patterns mentioned previously into the inner logic.
Jan
28
comment Representing complex object dependencies
Sure, the Fowler link is good info on IoC.
Jan
18
comment My boss has a bad case of “Not Invented Here”
Excellent post.
Dec
28
answered What is the reason behind methods with return values and methods with void?
Dec
27
comment Why is naming a table's Primary Key column “Id” considered bad practice?
Bad practice? Depends on context. Personally I find it better to follow a convention of NounId or TablenameId, but I do a lot of code generation, binding by convention, meta-data based logic and so forth wherein being able to infer the table from the Id's name can be very convenient. Also, when joining / creating views it is convenient to not have to ALIAS "Id" all over the place to avoid naming collisions in the flattened structure. But that aside I would say that this is much more of a PREFERENCE than a PRACTICE, good bad or otherwise.
Dec
26
comment Are there any programming languages that follow a minimalist development approach?
Commercially dominant? Seems like the utility belt languages fare better commercially, which in fairness helps fight against "technology soup" to some degree as they offer opportunities to reduce the total number of languages involved in a platform / enterprise. Having said that, I am really intrigued by the Io language (en.wikipedia.org/wiki/Io_(programming_language)); it would never fly in the sort of environments I generally work in as it isn't mainstream enough.
Dec
21
comment Why do so many namespaces start with com
I wouldn't take that bet; you are probably right. ;)
Dec
21
comment Why do so many namespaces start with com
I hadn't either, until a colleague threw it out in a conversation and spawned some tangential discussion. He ref'd wikipedia (as linked to), so apparently it isn't unheard of. I had to relax my literal mind a bit to accommodate this point of view, but I can live with it.
Dec
21
answered Why do so many namespaces start with com
Dec
21
comment Is knowing a programming language different than knowing how to use it?
It's true, a good developer is usually also a good problem solver...but even if you are not naturally gifted in that area you can learn / develop one or more methodologies to help you compensate. I've known a few people who couldn't reason their way out of a paper bag on their own but had a system of some kind (such as checklists, or a methodology) that allowed them to overcome it. Search the internet for "problem solving skills" and maybe you'll stumble across something that appeals to you.
Dec
21
comment Is knowing a programming language different than knowing how to use it?
Good luck, and remember that none of us started out as genius rockstar make-it-look-easy programmers. If you keep at it you will eventually get better. “Life is so short, and the craft takes so long to learn”. - Geoffrey Chaucer
Dec
21
answered Is knowing a programming language different than knowing how to use it?
Dec
20
comment Do I have to learn html and javascript to create web applications?
Upvoted just for making me chuckle. It's also good advice.
Dec
20
comment What are the advantages of Scala's companion objects vs static methods?
"Writing object instead of class makes it a singleton and you're done." I don't much care for Singletons myself, but I've got to admit that the directness of this particular "syntactic sugar" has a certain charm.
Dec
19
comment Asking potential developers to draw UML diagrams during the interview
@DotnetDude UML is a specific methodology. If you ask them to draw a UML diagram you are asking them to know a specific modeling technique. If you just want them to model something then perhaps you should just say "model the problem using whatever modeling technique you are most comfortable with" or words to that effect.
Dec
19
awarded  Nice Answer
Dec
18
answered Multiple database accesses or one massive access?
Dec
15
answered What's the point of the Prototype design pattern?