171 reputation
18
bio website
location Saskatoon, Canada
age 29
visits member for 3 years, 7 months
seen Nov 13 at 5:21

Jul
26
comment Adding base-class (inherited) functionality to classes that you don't control
In my trivial example code, the only functionality which I desire to share is the SuperPower property. Unfortunately, in my real-world problem, the AnimalWithSuperPower abstract class has several properties and methods which I want inherited by all the children. That being said... I am not sure which I prefer: needing multiple pass-through calls for all childrens' behaviour OR re-declaring the abstract behaviour repeatedly in all children. Which is the lesser of 2 evils? LOL
Jul
26
comment Adding base-class (inherited) functionality to classes that you don't control
Here is a very similar question: programmers.stackexchange.com/questions/161651
May
6
comment How can I avoid using my own name in the identifiers, packages, or namespaces of open sources projects I create?
I've started using this strategy for all my projects. I come up with a unique name for the projects, almost a code-name (pardon the pun), and use it for my packages/namespaces. Saves me having to worry about domains names, at least until the time comes when I want one.
Feb
4
comment How can I avoid using my own name in the identifiers, packages, or namespaces of open sources projects I create?
I think this a good solution when I don't have or (immediately) want a domain registered for the project. I could even do this when I do have a domain. It would even help make sure I use unique project names, which never is a bad thing. I will probably accept this answer soon, unless any better ones come up. Thanks!
Feb
4
comment How can I avoid using my own name in the identifiers, packages, or namespaces of open sources projects I create?
I realize there is no rule that you have to use domain names, but I think it is a very common practice, at least in the Java and .NET world, just because it helps ensure uniqueness. Also, you said you think I was right to use com.googlecode.oldproj, why do you think this was a good idea? In retrospect, I thought it was kinda of silly to tie the code to the hosting provider.
Jul
29
comment What are the definitive guidelines for custom Error Handling in ASP.NET MVC 3?
I found a solution which meets your goals. I have it as another answer on SO: stackoverflow.com/questions/6508415/…