First page Back Continue Last page Overview Text

Notes:


So the comments were necessary not to explain what the code actually did, but rather what the code was intended to do. Comments are for expressing intentions. On this basis we can actually distinguish good and bad comments. The Rosetta code had good comments. Modern code all too frequently has not so good comments or bad comments. The bad comments simply repeat what the code is doing.