Software Engineering discussion

5 views
Code Complete > General Control Issues

Comments Showing 1-3 of 3 (3 new)    post a comment »
dateUp arrow    newest »

message 1: by [deleted user] (new)

I really like it when language creators include a Boolean primitive type!

The author makes a good argument for making comparisons to 0 and null explicit, even though this goes against the C style grain. The same is true for null statements.

This chapter cites some impressive quality results from code restructuring driven by the McCabe complexity index. I don't have any experience using this metric... does anyone else?

I am not sure that this chapter is the best place for it, but the discussion of the fuzzy meaning of the term "structured programming", and its history, is well done.


message 2: by Aleksander (new)

Aleksander Shtuk | 84 comments I guess I can’t appreciate enough having Boolean types simply because they were always there for me. I like the suggestion about using decision tables to replace complicated conditions.

Not a long time ago I became interested in measuring and reducing code complexities. So, it was interesting to read more about it in this chapter.


message 3: by Erik (new)

Erik | 165 comments I thought the start of this chapter was redundant with the "Using Conditionals" chapter. But, I did like the new code sample solutions this chapter had for those cases.

No, I have not used the McCabe metrics to evaluate a single routine, but I did see that as a transition towards the next chapter on Quality.


back to top