939 reputation
321
bio website
location Bulgaria
age
visits member for 2 years, 1 month
seen Jul 10 at 12:22

Jun
25
awarded  Popular Question
Jun
17
revised How to define different names for the same type and have the compiler check them?
added 397 characters in body
Jun
17
comment How to define different names for the same type and have the compiler check them?
@jimbobmcgee, that would work. However 1) users must type .value in addition to the name of the variable 2) is a bit of a WTF moment. I can't believe that a language this strict doesn't have an out-of-the-box solution.
Jun
17
asked How to define different names for the same type and have the compiler check them?
Jun
17
revised Is heap fragmentation a problem in bare-metal arm with g++?
added 120 characters in body
Jun
17
comment Is heap fragmentation a problem in bare-metal arm with g++?
Do you know where can I get documentation on the specific implementation of my heap allocator. I am using arm-none-eabi-g++ (GCC) 4.7.2. All I could find was this? And thirdly, would some defragmentation procedure be possible for an embedded system?
Jun
17
comment Is heap fragmentation a problem in bare-metal arm with g++?
Why would pushing an element to`vector` beyond it's capacity not cause fragmentation? Isn't it the same as freeing some memory and then allocating new chunk?
Jun
17
asked Is heap fragmentation a problem in bare-metal arm with g++?
Jun
17
comment Easily moving both direction of time during a rebase
@Cupcake, 1) some commits do not compile at all (debugging someone else's code) 2) some commits need to be split up, because they contain many unrelated changes and isolating a bug to that commit is rather useless.
Jun
16
asked Easily moving both direction of time during a rebase
Jun
16
accepted Public versus private inheritance when some of the parent's methods need to be exposed?
Jun
13
comment Public versus private inheritance when some of the parent's methods need to be exposed?
@Doval, do you mean that I should be using composition?
Jun
13
revised Public versus private inheritance when some of the parent's methods need to be exposed?
added 114 characters in body; edited title
Jun
13
asked Public versus private inheritance when some of the parent's methods need to be exposed?
May
23
comment Is it appropriate to remove redundant code explicitly assigning the default values?
Or is it?
May
17
awarded  Yearling
Feb
17
comment OOP in C: which of these two approaches is closer to a cannonical solution?
@AndresF., thanks for the effort. IMO my question is partially a code review question (unfit for here) and partially pattern recommendation question (fit for here), and that's why I am struggling to formulate it as a good question.
Feb
17
revised OOP in C: which of these two approaches is closer to a cannonical solution?
added 219 characters in body
Feb
17
revised OOP in C: which of these two approaches is closer to a cannonical solution?
added 46 characters in body
Feb
17
comment OOP in C: which of these two approaches is closer to a cannonical solution?
@Oded, less bug-prone, easier to maintain, easier to make changes, more understandable to a new hire etc. Aren't all best practices quite broad?