Wikibooks:Featured books/Nominations/Addition/More C++ Idioms
From Wikibooks, open books for an open world
Jump to navigation
Jump to search
Please comment below on the quality of More C++ Idioms. Note that as the scope of this book is rather vast and continuously growing, a book on such a topic is never "complete".
The following discussion has concluded. Please open a new discussion for any further comments.
Not done No consensus obtained (either way). Leaderboard (discuss • contribs) 17:03, 11 February 2021 (UTC)[reply]
Note: Self nomination. The objective of this book is to help elevate the knowledge of programmers who have moderate level of familiarity with C++ to a level where they feel much friendlier with C++. It provides an exhaustive catalog of modern reusable C++ idioms based on what expert programmers often use while programming/designing using C++. It is an effort to capture their vocabulary and concepts into a single work. Also see Nominations/Addition/More C++ Idioms.
Some facts about the book:
- It has been translated in Japanese More C++ Idioms
- It has been cited independently as a "good read" or "reference" 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, and more...
--Sutambe (discuss. • contribs) 20:25, 18 June 2014 (UTC)[reply]
- Neutral Yes the book is comprehensive, but looking at some pages to get a feel for the book, I notice examples without explanations to there strengths, weaknesses, and any relevant caveats, such as defining a macro named "break" will break the expected behavior of the "break" keyword. I notice some pages are missing references. I notice some idioms have drawbacks that can be addressed by using newer features of C++, such as deleting copy and assignment constructors rather then making copy and assignment constructors private. Some idioms should recommend using the standard library first, such as
std::is_member_pointer
, or explain why the standard library isn't being used. --darklama 14:41, 19 June 2014 (UTC)[reply]
- I agree that explanations of some idioms can be expanded. Some idioms have received more comprehensive treatment than others. Regarding drawbacks of idioms: It is not the goal of this book to use the newest language features. In fact, some language idioms that are described comprehensively in the book will simply vanish in C++11 and C++14. Instead, I like the idea of recommending a language feature or a standard library if it exists in a certain environment (C++11/14). Can you please mention which idioms can use
std::is_member_pointer
? ----Sutambe (discuss • contribs) 17:18, 19 June 2014 (UTC)[reply]- I was thinking the same, that language features or the standard library should be recommended when available in a certain environment, and keep idioms for people that may be using an older environment, or anyone interested in understanding how the standard library might implement an idiom. My thinking is people trying to learn from this book are not being taught enough to make well informed decisions about what idioms to use or not use, and would miss out unless they look beyond this book.
- I noticed the Member Detector idiom as one idiom where std::is_member_pointer and friends may be more appropriate than rolling your own, unless you want to understand how the standard library does it or are using an older environment. --darklama 19:03, 19 June 2014 (UTC)[reply]
- I agree that explanations of some idioms can be expanded. Some idioms have received more comprehensive treatment than others. Regarding drawbacks of idioms: It is not the goal of this book to use the newest language features. In fact, some language idioms that are described comprehensively in the book will simply vanish in C++11 and C++14. Instead, I like the idea of recommending a language feature or a standard library if it exists in a certain environment (C++11/14). Can you please mention which idioms can use
- Neutral This isn't criticism of this book but I just feel there are too many Computing Featured books. Wikibooks needs to show people visiting this site that there is more than just IT books here. We should have a maximum and minimum number of books chosen as Featured books for each subject.--ЗAНИA talk 21:00, 19 June 2014 (UTC)[reply]