Appendix B. Item Mappings Between Second and Third Editions


This third edition of Effective C++ differs from the second edition in many ways, most significantly in that it includes lots of new information. However, most of the second edition's content remains in the third edition, albeit often in a modified form and location. In the tables on the pages that follow, I show where information in second edition Items may be found in the third edition and vice versa.

The tables show a mapping of information, not text. For example, the ideas in Item 39 of the second edition ("Avoid casts down the inheritance hierarchy") are now found in Item 27 of the current edition ("Minimize casting"), even though the third edition text and examples for that Item are entirely new. A more extreme example involves the second edition's Item 18 ("Strive for class interfaces that are complete and minimal"). One of the primary conclusions of that Item was that prospective member functions that need no special access to the non-public parts of the class should generally be non-members. In the third edition, that same result is reached via different (stronger) reasoning, so Item 18 in the second edition maps to Item 23 in the third edition ("Prefer non-member non-friend functions to member functions"), even though about the only thing the two Items have in common is their conclusion.

Second Edition to Third Edition

2nd Ed.

3rd Ed.

2nd Ed.

3rd Ed.

2nd Ed.

3rd Ed.

1

2

18

23

35

32

2

19

24

36

34

3

20

22

37

36

4

21

3

38

37

5

16

22

20

39

27

6

13

23

21

40

38

7

49

24

41

41

8

51

25

42

39,44

9

52

26

43

40

10

50

27

6

44

11

14

28

45

5

12

4

29

28

46

18

13

4

30

28

47

4

14

7

31

21

48

53

15

10

32

26

49

54

16

12

33

30

50

17

11

34

31

  


Third Edition to Second Edition

3rd Ed.

2nd Ed.

3rd Ed.

2nd Ed.

3rd Ed.

2nd Ed.

1

20

22

39

42

2

1

21

23,31

40

43

3

21

22

20

41

41

4

12,13,47

23

18

42

5

45

24

19

43

6

27

25

44

42

7

14

26

32

45

8

27

39

46

9

28

29,30

47

10

15

29

48

11

17

30

33

49

7

12

16

31

34

50

10

13

6

32

35

51

8

14

11

33

9

52

9

15

34

36

53

48

16

5

35

54

49

17

36

37

55

18

46

37

38

  

19

pp.77 79

38

40

  




Effective C++ Third Edition 55 Specific Ways to Improve Your Programs and Designs
Effective C++ Third Edition 55 Specific Ways to Improve Your Programs and Designs
ISBN: 321334876
EAN: N/A
Year: 2006
Pages: 102

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net