The Top 20 C++ Tips of All Time – Introduction

The following tips are a collection of general hands-on techniques and recondite pieces of knowledge not associated with a specific platform, programming domain, or compiler. As such, they can be of use to all C++ programmers. I grouped the tips into five major categories: general guidelines for coding style, memory management, performance enhancement, object-oriented design, and the Standard Template Library (STL).

What makes these tips special is that the information they provide usually cannot be found in C++ books or Web sites. For example, pointers to members are one of the most evasive, tricky, and bug-prone issues for even advanced users. Yet, they are a widely used C++ feature. Likewise, the discussion on STL terminology and iterator categories is another example of useful yet evasive information that isn’t readily available, unless you’re an STL expert.

The tips herein do not only explain how to write better code, but rather, they present the rationale behind the new language rules. Obviously, there are many other perennial good tips that C++ programmers can benefit from. However, I’m sure that this collection will provide you with many insights and guidelines for professional, efficient, and bug-free C++while teaching you some new coding and design techniques.

The Top 20 C++ Tips of All Time – Introduction

Part 1 – Guidelines for Better Coding Style

Part 2 – Memory Management

Part 3 – Performance Enhancements

Part 4 – Object-oriented Design

Part 5 – STL and Generic Programming

(Source: devx.com)

Related Posts

 

Article by Tuan

I am the administrator of Tek3D Weblog, which was created in December 2008. I write about anything related to technology and science. Wordpress blogging tips and technology news are my favourite topics. Subscribe to the RSS or Twitter to receive my blog's latest updates.

Tuan has written 488 awesome articles for us at Tek3D Weblog



dofollow No Responses

Leave a Reply

CommentLuv Enabled