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

Naming of files #13

Closed simonlynen closed 11 years ago

simonlynen commented 11 years ago
  1. MyClass.hpp
  2. myclass.hpp
  3. my_class.hpp
stephanemagnenat commented 11 years ago

I vote for 1, as it reflects the class naming convention.

HannesSommer commented 11 years ago

A also vote for 1. Same reason.

furgalep commented 11 years ago

+1 for 1

jmaye commented 11 years ago

I usually use rule 1, but with .h extension and for templates .tpp extension, but this is again a religious issue.

simonlynen commented 11 years ago

Conclude this:

header files

include/some_package/MyClass.hpp

implementation header files

include/some_package/implementation/MyClass.hpp

source files

src/MyClass.cpp