9,661 reputation
12742
bio website
location
age
visits member for 3 years, 9 months
seen 2 days ago

Nov
17
revised Why is Clean Code suggesting avoiding protected variables?
edited tags
Nov
14
revised Are “Clean Code” practices really that clean and useful?
edited tags
Nov
14
revised Should Uncle Bob's example be refactored to an AbstractFactory or a SimpleFactory?
edited tags
Nov
14
revised Should I buy Clean Code after reading The Clean Coder?
edited tags
Nov
14
revised “Agile Principles, Patterns, and Practices in C#”: Is this just a .NET-translation of the popular Uncle Bob book?
edited tags
Nov
14
suggested suggested edit on uncle-bob tag wiki
Nov
14
suggested suggested edit on uncle-bob tag wiki excerpt
Nov
13
comment Should package structure closely resemble class hierarchy?
@superM, sorry, but that's not what I understood. The class structure is given. The question is about how to organize the classes into packages.
Nov
13
comment Should package structure closely resemble class hierarchy?
I am not sure I understand what you mean. What single package structure?
Nov
13
answered Should package structure closely resemble class hierarchy?
Oct
10
awarded  Nice Answer
Oct
7
comment Why can't we declare 'extern C' for C++ macro's?
@StevenBurnap, you do not need macros for that. Instead of #define DEBUG use a global constant: const bool DEBUG = true;. If you set the constant to false, then a modern compiler will strip off unreachable code. The advantage of doing it this way is again the fact that macros do not respect scope.
Oct
4
revised Why can't we declare 'extern C' for C++ macro's?
edited body
Oct
3
awarded  Yearling
Sep
30
comment What's better either pass a class instance to the method or just primitives?
Not to mention that according to Uncle Bob the ideal number of parameters for a method is none. One, if you must. Two, if you really must. And three, only if there is absolutely no other choice. :)
Sep
9
comment What are the advantages of using LISP and Haskell? Will they make me a better programmer?
I think you should instead ask what functional programming is.
Sep
3
revised Best practices for using namespaces in C++
added 146 characters in body; edited title
Sep
3
comment What if my nested class extends another class from another package?
Well, you obviously cannot avoid dependencies on other packages altogether. :) They just need to make sense. Classes should be grouped in a package when they change together, which seems to be the case here. Check out en.wikipedia.org/wiki/Package_Principles for more info.
Sep
3
answered What if my nested class extends another class from another package?
Aug
6
reviewed Approve suggested edit on How up-to-date is the Joel test?