a seminal software development book by Steve McConnell
37
votes
2answers
4k views
What are the key points of Code Complete?
I have heard a lot of people mention Code Complete as a book worthwhile reading. Unfortunately, I am so busy that I don't have time to read it, so can anyone tell me what the key points of the book ...
32
votes
6answers
8k views
Is Code Complete still Code Complete? [closed]
It's been quite a few years since Code Complete was published. I really love the book, I keep it in the bathroom at the office and read a little out of it once or twice a day.
But I don't think ...
26
votes
1answer
2k views
What does the author of Code Complete mean when talking about hiding global data?
In section 6.4 of Code Complete 2nd Edition there is a paragraph about hiding global data. What I am particularly interested in, is that McConnell (the author of the book) gives examples of the ...
10
votes
3answers
474 views
Programming *into* a language vs. writing C code in Ruby
Code Complete states that you should aways code into a language as opposed to code in it. By that, they mean
Don't limit your programming thinking only to the concepts that are supported ...
8
votes
2answers
483 views
Is this paragraph in Code Complete 2 backwards, or am I misunderstanding it?
In chapter 13, when talking about pointers, there is a paragraph:
Sometimes, however, you would like to have the semantics of pass by
reference—that is, that the passed object should not be ...
8
votes
5answers
2k views
When one should read 'Code Complete'?
I'm pretty sure about Who but when ?
The one with proficient knowledge of programming and software development or the one who's just a beginner in cyber ( programming, to be precise ) world ?
I'm ...
4
votes
1answer
229 views
What recent studies point to the possible improvement a programmer can make as a result of personal character traits? [closed]
In Chapter 33, Personal Character of Code Complete (Second ed.) McConnell cites some studies such as those listed below in support of the assertion that 10-1 improvement is possible from efforts in ...
4
votes
1answer
633 views
Explanation of Object-parameter-coupling as mentioned in Code Complete book
I have been reading up on the seminal and excellent book Code Complete. It discusses about the various kinds of couplings that can happen between modules(which may be classes as well as methods):
...
3
votes
2answers
236 views
Why is design by contract considered an alternative to the pseudo programming process?
Right now I'm reading Code Complete by Steve McConnell and in chapter 9 he talks about the Pseudo Programming Process (PPP).
From what I've understood, the PPP is a way of programming in which the ...
2
votes
5answers
521 views
Why sequential cohesion for operations in a method is not a good idea?
I read from the seminal Code Complete book that method statements that require to be executed in order passing parameter from one to the next is a code smell and is an example of a sequential ...
2
votes
3answers
261 views
What is the Most Expedient Way to Make Legacy Code Conform to 'The Principle of Proximity'?
On page 242 of Code Complete 2, Steve McConnell touts The Principle of Proximity.
Put simply, Mr. McConnell advises programmers to keep related actions together.
In my case, the applicable emphasis ...
1
vote
2answers
154 views
In an if statement, what are an “if clause” and a “then clause”?
I am a bit confused about the nomenclature for the parts of an if statement. Consider the following example:
1: if condition then
2: statement_1;
3: else
4: statement_2;
5: end if;
...
1
vote
1answer
408 views
Analogy of a class being a cookie cutter and objects being cookies
I came across the analogy of the class being a cookie cutter and the cookies being objects while reading Code Complete. I fail to see why this analogy was drawn.How is it related to the concept of ...