Reputation
Top tag
Next privilege 200 Rep.
See reduced ads
Badges
1 8
Impact
~5k people reached

  • 0 posts edited
  • 0 helpful flags
  • 3 votes cast
Feb
6
awarded  Popular Question
Oct
23
awarded  Notable Question
Aug
20
awarded  Popular Question
Mar
22
comment how should I design Objects around this business requirement?
I agree with that article (I had actually read the very same Scott Meyer's article against instanceOf()). For the very same reason, I am trying to come up with a better design to the problem I asked in my question.
Mar
22
revised how should I design Objects around this business requirement?
edited tags
Mar
22
comment What design pattern is best suitable with this context?
Effective C++ by Scott Meyers has a great article on double dispatch talking at great detail on how to implement it also!
Mar
22
comment how should I design Objects around this business requirement?
Please take a look at my edit. Apart from handling options and default, I'm faced with a concern: At runtime, how can I know if a given Object in variants[] is of Type LandPackageVariant or FlightPackageVariant ?
Mar
22
revised how should I design Objects around this business requirement?
added more info about the problem I am trying to solve
Mar
22
awarded  Commentator
Mar
22
awarded  Editor
Mar
22
revised how should I design Objects around this business requirement?
added 6 characters in body
Mar
22
asked how should I design Objects around this business requirement?
Mar
15
comment design for supporting entities with images
getImage() returns an Image object if it finds it in the database otherwise returns a null.
Mar
15
asked design for supporting entities with images
Jan
17
awarded  Supporter
Jan
17
comment what techniques can be used to implement Facebook's People You May Know feature?
Thanks for the insight. Definitely gives me a starting point.
Jan
17
accepted what techniques can be used to implement Facebook's People You May Know feature?
Jan
17
comment what techniques can be used to implement Facebook's People You May Know feature?
@Marvin Thanks for the link. I'm (re-)reading it :) I knew these things are not trivial, yet I could not keep my curiosity in check!
Jan
15
asked what techniques can be used to implement Facebook's People You May Know feature?
Jan
19
awarded  Scholar