|
Boost : |
From: Nicolai Josuttis (nicolai.josuttis_at_[hidden])
Date: 1999-06-01 02:28:21
Beman Dawes wrote:
> It looks like .cpp and .h are the most common file types.
> Like-it-or-not they are the de facto standards.
>
I hope not!
Using .h as extension really results into a lot of trouble
(as Valentin pointed out when he started this discussion).
It has A LOT of advantages to give C++ files a unique
extension.
I'll definitely stay with .hpp because
- it is unique
- it is consistent with .cpp
- it is intuitive (unlike .hh)
- it works case insensitive
These are a lot of good reasons!
And (even coming from UNIX) it seems for me that
.hpp is a de-facto standard, too.
Of course, we should not start a style war about this.
However, using .h as extension really does not make any
sense for me (except backward style compatibility perhaps).
-- Nicolai M. Josuttis Solutions in Time http://www.josuttis.de/ mailto:solutions_at_[hidden] ------------------------------------------------------------------------ eGroups.com home: http://www.egroups.com/group/boost http://www.egroups.com - Simplifying group communications
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk