416 reputation
35
bio website none
location Wakefield, MA
age 28
visits member for 4 years, 4 months
seen May 22 at 0:32

Programmer for a small Boston company specializing in highly customizable software solutions for a wide variety of business types.


Apr
30
comment Is it okay to have objects that cast themselves, even if it pollutes the API of their subclasses?
@codebreaker If you're looping over all your objects and telling them to do something then obviously those things have something in common. This answer is telling you to figure out a name for the shared things, place them on the base class as virtual or abstract methods, and then override them in the sub classes. Is that specific enough?
Feb
11
comment How can I ask my boss (in a polite way) to comment his code?
The last sentence is the solution. Explain the whole situation: "I've been trying to think of a way to keep from bothering you when I have questions. I think it could help if you commented. Or would you prefer I ____?"