1,572 reputation
931
bio website
location Bulgaria
age
visits member for 3 years
seen Apr 13 at 17:08

May
20
awarded  Notable Question
May
17
awarded  Yearling
Apr
22
awarded  Good Question
Apr
16
awarded  Good Question
Mar
13
asked Is Dependency Inversion a valid alternative to the pImpl idiom?
Mar
3
awarded  Notable Question
Feb
26
comment How to use an enumeration type, when the values are not known at first?
@Doval, it appears the the logic doesn't tolerate holes in the enumeration, because resources are allocated for each enumerated value static LargeStruct g_allocated[PI_COUNT].
Feb
26
comment How to use an enumeration type, when the values are not known at first?
@Doval, kind of. gcc actually doesn't check if passed constants are members of the expected enum. I want to have a type PresetItemId inside the library for readability (instead of int), yet the library should be unaware of the concrete values clients are going to pass.
Feb
26
asked How to use an enumeration type, when the values are not known at first?
Feb
26
accepted When NOT to apply Dependency Inversion?
Feb
26
awarded  Popular Question
Feb
26
awarded  Nice Question
Feb
26
awarded  Curious
Feb
25
revised When NOT to apply Dependency Inversion?
added 236 characters in body
Feb
25
asked When NOT to apply Dependency Inversion?
Feb
5
comment When to use nested classes and when to use namespaces?
@DanPichelman, never thought of it, lol. But is is already cumbersome to use as it is: Reverb::Settings::GuiCommand::validate().
Feb
5
asked When to use nested classes and when to use namespaces?
Jan
28
awarded  Nice Question
Jan
28
comment When is it not acceptable to model physical world objects with classes?
Thanks for the point of view! Btw here, Fig.1 they talk about some concept of collaborations, with different collaborations (use cases) exposing different aspects of an object. I hope I understand that some day.
Jan
28
accepted When is it not acceptable to model physical world objects with classes?