Skip to content

Commit 8fe3cbe

Browse files
committed
root readme update and added review02 for chapter12
1 parent 20cf599 commit 8fe3cbe

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed

Chapter12/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,6 @@ Define a class `B2` with a pure virtual function `pvf()`. Define a class `D21`
2929

3030
## [Review 1](review/01.txt)
3131
What is an application domain?
32+
33+
## [Review 2](review/02.txt)
34+
What are ideals for naming?

Chapter12/review/02.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Logically different operations should have different names.
2+
Data member of property X should have a readout (getter)
3+
function named X(), and a writer (setter) function
4+
named set_X().
5+
The names of private members don't matter that much,
6+
meaningful naming of the user-facing interface members
7+
is important.

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,5 @@
1414
### [Chapter09](Chapter09/): Input and Output Streams
1515
### [Chapter10](Chapter10/): A Display Model
1616
### [Chapter11](Chapter11/): Graphics Classes
17+
### [Chapter12](Chapter12/): Class Design
1718

0 commit comments

Comments
 (0)