211 reputation
25
bio website tommya.net
location Copenhagen, Denmark
age 32
visits member for 3 years, 8 months
seen Jul 20 at 23:56
Student at the IT Univsersity of Copenhagen, and employee in International Security Group, developing software for digital video recorders.

Jul
12
comment Classic inheritance problem?
@Doval So whenever a new type is created, you would need to ad it to the enum, the union and the switch cases. Isn't this a problem that can be solved using inheritance, in a way that requires less coupling?
Jul
12
comment Classic inheritance problem?
@Doval Actually I find that a visitor pattern will give you far less coupling, than say an enum-like tag, which either require a cast, or union as in your case.
Jul
12
comment Classic inheritance problem?
@Doval I honestly do not think that a visitor pattern is a complicated way of solving problem like this.
Jul
12
awarded  Yearling
Jul
11
answered Classic inheritance problem?
Aug
1
comment IDE vs. Text Editor
@jozefg: "Don't get me wrong: Emacs is a great operating system – it lacks a good editor, though." - Thomer M. Gil :)
Feb
27
awarded  Caucus
Feb
27
awarded  Constituent
Jul
20
awarded  Teacher
Jul
20
answered Interview: Review another developer's code
Jan
13
awarded  Citizen Patrol
Jan
12
awarded  Supporter
Nov
20
awarded  Autobiographer