Request: Separate headers from code

mreuvers
Posts: 69
Joined: Sat May 10, 2008 8:39 am

Request: Separate headers from code

Post by mreuvers »

Hi there,

At this point the headers and source code are all included in the same directory. To my understanding it is a common (and desired) design practice for libraries to separate the definition from the code. So what's the reason that Bullet doesn't follow this practice?

Cheers,


Martijn
User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA

Re: Request: Separate headers from code

Post by Erwin Coumans »

During our daily work, we find it more convenient to keep .h headers and .cpp implementation together. So we have no plans to change this for Bullet 2.x or 3.x.

So far we haven't shipped precompiled libraries, but if we do we simply remove the .cpp files.

Do you have any links/reasons why some people keep them in separate folders?
Thanks,
Erwin