ethz-asl / programming_guidelines

This repository contains style-guides, discussions, eclipse/emacs auto-formatter for commonly used programming languages
139 stars 38 forks source link

Names representing typedefs should be written like type names #2

Closed simonlynen closed 11 years ago

simonlynen commented 11 years ago
typedef std::vector<cv::Point> PointVector; //NOT: PointVector_t, NOT: PointVector_type
typedef boost::shared_ptr<aslam::Camera> CameraPtr; //NOT: Camera_ptr
furgalep commented 11 years ago

+1 The google justification is good in this way: all type names are camel case starting with a capital.