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).
Is this paragraph in Code Complete 2 backwards, or am I misunderstanding it?
In chapter 13, when talking about pointers, there is a paragraph:
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):
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 objects being run time instances of their classes?
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 cohesion. Why is this not a good idea?
What recent studies point to the possible improvement a programmer can make as a result of personal character traits? [closed]
Closed 10 years ago.
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 benefits of hiding global data. There is one example that I cannot understand. I don’t have the English version of the book, so I’ll try to translate the text.
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 benefits of hiding global data. There is one example that I cannot understand. I don’t have the English version of the book, so I’ll try to translate the text.
Code formatting: is it worth to make bad code to look bad? [closed]
Closed 9 years ago.
Code formatting: is it worth to make bad code to look bad? [closed]
Closed 9 years ago.