Reputation
103,483
Next tag badge:
99/100 score
21/20 answers
Badges
28 228 394
Newest
 Enlightened
Impact
~2.3m people reached

Aug
22
awarded  Enlightened
Aug
22
comment Why does void in C mean not void?
Well, void is not a wildcard. A pointer is just a memory address. Putting a type before the * says "here is the data type you can expect to find at the memory address referred to by this pointer." Putting void before the * says to the compiler "I don't know the type; just return me the raw pointer, and I'll figure out what to do with the data that it points to."
Aug
22
answered Why does void in C mean not void?
Aug
22
awarded  Good Answer
Aug
22
comment Alternatives to multiple inheritance for my architecture (NPCs in a Realtime Strategy game)?
Worker is still a builder, because you inherited from ICanBuild. That you also have tools for building is of secondary concern in the object hierarchy.
Aug
22
revised Alternatives to multiple inheritance for my architecture (NPCs in a Realtime Strategy game)?
added 133 characters in body
Aug
22
revised Alternatives to multiple inheritance for my architecture (NPCs in a Realtime Strategy game)?
deleted 354 characters in body
Aug
22
answered Alternatives to multiple inheritance for my architecture (NPCs in a Realtime Strategy game)?
Aug
22
answered Can unit tests verify software requirements?
Aug
22
comment Am I violating LSP if the condition can be checked?
It's worth noting that LSP is a direct result of Design by Contract. If you're not designing by contract, using preconditions, postconditions and invariants, it's going to be hard to see the LSP violations.
Aug
22
comment Changing CSS classes when different strings are displayed in a text element with jQuery
There's a lot of hand-waving here. You might want to pose your actual programming problem and post it to Stack Overflow instead of here; this doesn't really sound like a conceptual problem to me.
Aug
22
revised Am I violating LSP if the condition can be checked?
added 1 character in body
Aug
22
answered Am I violating LSP if the condition can be checked?
Aug
22
awarded  Nice Answer
Aug
22
revised Is there a difference between fibers, coroutines and green threads and if that is so what is it?
deleted 1 character in body
Aug
22
comment Is there a difference between fibers, coroutines and green threads and if that is so what is it?
@gnat: See below (answered in less than 150 words).
Aug
22
answered Is there a difference between fibers, coroutines and green threads and if that is so what is it?
Aug
22
awarded  Popular Question
Aug
21
revised Performing a Depth First Search iteratively using async/parallel processing?
deleted 6 characters in body
Aug
21
comment Decoupling software components via naming convention
"Acceptable" is just a substitute word for "good." When you ask questions on an SE site, it helps if we can understand your criteria for what you consider acceptable. Otherwise, it's just our opinion, man.