Re: [cc65] Coding style for apps: One huge header file, or a domain specific header files?

From: Groepaz <groepaz1gmx.net>
Date: 2010-05-04 16:48:42
On Montag 03 Mai 2010, you wrote:
> I'm having a bit of code sprawl with my project and I am beginning to think
> I should just have a single header file for the whole project and not one
> for each code file as I was taught to do in school.  My code is beginning
>  to look like a smoke stack in the declarations with all the includes
> everywhere.  What do you guys normally do?

personally i am a big fan of one header per "logical unit", and i tend to 
split long sourcefiles into several .c files too. if you yourself feel its too 
long, that it most certainly is :)

-- 

http://www.hitmen-console.org    http://magicdisk.untergrund.net
http://www.pokefinder.org        http://ftp.pokefinder.org

Love conquers all except poverty and toothache. 
<Mae West>

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Tue May 4 16:50:42 2010

This archive was generated by hypermail 2.1.8 : 2010-05-04 16:50:44 CEST