3,401 reputation
819
bio website
location
age
visits member for 3 years, 2 months
seen yesterday

Jul
15
awarded  Nice Answer
Jun
13
comment Public versus private inheritance when some of the parent's methods need to be exposed?
Composition should normally be preferred over inheritance. There are however times when it makes more sense to use private inheritance. See this question on stackoverflow.com: When to use C++ private inheritance over composition?
Jun
13
answered Public versus private inheritance when some of the parent's methods need to be exposed?
Jun
2
answered Theoretically bug-free programs
Jun
2
comment Using single characters for variable names in loops/exceptions
I don't want to write a new answer to this old question, and this is just a comment. There's a key concept missing from the list of places where a single character variable name is acceptable, and maybe even preferable, and that's C++ templates. It's very common to see something along the lines of template <typename T, typename U, int N> ....
May
31
awarded  Yearling
May
22
comment Origins of code indentation
@DanielMahler - Browse the LISP 1 programming manual and see for yourself. Some of the example code is indented, but it's haphazard at best. Most of the example code is flush left.
May
16
comment Is a coding standard even needed any more?
That is a prototypical bad coding standard. It's too long, it raises religious issues, and most importantly, it runs contrary to modern C++ programming. For example, it precludes POD (plain old data), and its rules on exceptions range from bad to archaic. Bad: Trying to catch std::bad_alloc turns out to be a very bad idea. Archaic: The Java idea of specifying all exceptions that might be thrown and catching all exceptions thrown by called functions just doesn't work in C++. Much better is to write exception-safe code based on the concepts of David Abrahams's concepts of exception guarantees.
May
13
comment Identify this programming style
I've seen this "align on the equals sign" x in ancient Fortran code. It goes way back.
May
13
revised Identify this programming style
added 1588 characters in body
May
12
answered Identify this programming style
May
12
answered The deference between Computer science and Computer information system?
May
12
comment The deference between Computer science and Computer information system?
This question does have an objective answer in the form of the recommended curricula jointly written by the Association for Computing Machinery (ACM), The Association for Information Systems (AIS), and The Computer Society (IEEE-CS).
May
6
comment Is it bad practice to use the same name for arguments and members?
@supercat - That would be -Weverything, which is an LLVM (clang, clang++, ...) option. Even the LLVM developers don't recommend that ordinary developers use -Weverything. Too many false positives.
Apr
21
awarded  Custodian
Apr
21
reviewed Reject suggested edit on Is machine language always binary?
Mar
30
revised Trouble understanding the COCOMO model
added 989 characters in body
Mar
19
comment Programmer Timeliness vs Effort
Find out the motivating reason behind why core business hours are being implemented. This is too chatty to be an answer, so hence a comment. My experience, multiple instances of each: (1) An inept manager has been promoted to his or her level of incompetence (Peter Principle), and (2) Management needs a documented rationale for firing somebody (EEOC rules).
Feb
28
answered Trouble understanding the COCOMO model
Feb
25
comment I want to experience the early days of computing
Cheap and fun: Buy some dominos. youtube.com/watch?v=SudixyugiX4&feature=player_embedded .