Herb Sutter,ISO C++標準委員會主席,C++ Users Journal雜誌特邀編輯和專欄作傢;他目前在微軟公司領導NET環境下C++浯言擴展的設計工作除本書外.他還撰寫瞭三本廣受贊譽的圖書:Exceptional C++ Style、Exceptional C++和More Exceptional C++。 .
Andrei Alexandrescu,世界頂級的C++專傢.“C++ Users Journal雜誌的專欄作傢,他的Modem C++ Design—書曾榮獲2001年最佳C++圖朽稱號.書中所開發的Loki已經成為最負盛名的C++程序庫之一。
Consistent, high-quality coding standards improve software quality, reduce time-to-market, promote teamwork, eliminate time wasted on inconsequential matters, and simplify maintenance. Now, two of the world's most respected C++ experts distill the rich collective experience of the global C++ community into a set of coding standards that every developer and development team can understand and use as a basis for their own coding standards. The authors cover virtually every facet of C++ programming: design and coding style, functions, operators, class design, inheritance, construction/destruction, copying, assignment, namespaces, modules, templates, genericity, exceptions, STL containers and algorithms, and more. Each standard is described concisely, with practical examples. From type definition to error handling, this book presents C++ best practices, including some that have only recently been identified and standardized-techniques you may not know even if you've used C++ for years. Along the way, you'll find answers to questions like * What's worth standardizing--and what isn't? * What are the best ways to code for scalability?* What are the elements of a rational error handling policy? * How (and why) do you avoid unnecessary initialization, cyclic, and definitional dependencies?* When (and how) should you use static and dynamic polymorphism together?* How do you practice "safe" overriding?* When should you provide a no-fail swap? * Why and how should you prevent exceptions from propagating across module boundaries?* Why shouldn't you write namespace declarations or directives in a header file?* Why should you use STL vector and string instead of arrays?* How do you choose the right STL search or sort algorithm?* What rules should you follow to ensure type-safe code? Whether you're working alone or with others, C++ Coding Standards will help you write cleaner code--and write it faster, with fewer hassles and less frustration.
發表於2024-11-21
C++ Coding Standards 2024 pdf epub mobi 電子書 下載
其實我想看個實踐,彆人的方法。 副標題叫Best Practices,但是Practice很少。 這本書的內容都缺少實踐,站著說話不腰疼,對於我這樣的菜鳥感覺是這樣的。 比如這條,比如有個巨類: CHugeClass { function0(); function1(); function2(); function3(); .... f...
評分本評論轉自我的Blog 轉載必須包含本聲明、保持本文完整。並以超鏈形式注明作者編程隨想和本文原始地址: http://program-think.blogspot.com/2009/01/cxx-coding-standards-101-rules.html 全書的101個條款分布在如下的12部分中,下麵來挨個介紹一下。 1、組織與策略 這部分...
評分其實我想看個實踐,彆人的方法。 副標題叫Best Practices,但是Practice很少。 這本書的內容都缺少實踐,站著說話不腰疼,對於我這樣的菜鳥感覺是這樣的。 比如這條,比如有個巨類: CHugeClass { function0(); function1(); function2(); function3(); .... f...
評分其實這本書很雞肋。因為此書是對一條條的規範、原則、實踐等的高度提煉,能力到瞭自然能理解,能力沒到看完也不一定能理解,此時你需要類似《Unix編程藝術》的書,當然你仍然需要足夠的實踐來支持,要不就會像我一樣在這裏說大話! 如果你是完美主義者,如果你本來就注重思維...
評分我看過瞭 我看過瞭 我看過瞭 我看過瞭 我看過瞭 我看過瞭 我看過瞭 我看過瞭 我看過瞭 我看過瞭 我看過瞭 我看過瞭 我看過瞭 我看過瞭 我看過瞭 我看過瞭 我看過瞭 我看過瞭 我看過瞭 我看過瞭 我看過瞭 我看過瞭 我看過瞭 我看過瞭 我看過瞭 我看過瞭 我看過瞭 我看過瞭 我看...
圖書標籤: C++ programming C/C++ 編程 規範 計算機 程序設計 軟件開發
脫離入門必備 之一
評分C++編碼經驗之談
評分描述C++ 代碼標準規範,好久之前看過的,不過現在對於裏麵內容有些模糊瞭……但是對於C++代碼風格倒是接觸很多,已熟悉多數風格,心中已有自己的好壞標準(當然是建立在公認良好標準基礎之上啦)。其實,認真研習標準庫或優秀的開源庫代碼如STL,Boost,Loki,ATL等,在學習其中的程序設計方法同時培養個人的良好代碼風格。 http://huangjunkun.blogspot.com/2012/06/blog-post_14.html
評分零零碎碎20天讀完瞭。很有實戰意義的一本書。
評分每條建議都值得經常翻看
C++ Coding Standards 2024 pdf epub mobi 電子書 下載