Reputation
416
Top tag
Next privilege 500 Rep.
Access review queues
Badges
3 5
Newest
 Yearling
Impact
~3k people reached

  • 0 posts edited
  • 0 helpful flags
  • 9 votes cast
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?
Apr
4
awarded  Yearling
Apr
3
answered Why are people making tables with divs?
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 ____?"
Feb
19
awarded  Caucus
Jan
14
awarded  Yearling
Nov
3
answered Is there a known algorithm for scheduling tournament matchups?
Jul
1
awarded  Good Answer
Jan
20
awarded  Nice Answer
Jan
20
awarded  Teacher
Jan
15
awarded  Supporter
Jan
14
awarded  Autobiographer