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

From: Marc 'BlackJack Rintsch <marc1rintsch.de>
Date: 2010-05-03 13:49:23
On Monday 03 May 2010, Payton Byrd 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?

One header per domain but not necessarily one code file per header.  
Maybe it's a sign that your domains are too small so you have too many 
or that they are not encapsulated enough.

Ciao,
	Marc 'BlackJack' Rintsch
-- 
Hi! I'm a .signature virus!
Copy me into your ~/.signature to help me spread!

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Mon May 3 14:08:09 2010

This archive was generated by hypermail 2.1.8 : 2010-05-03 14:08:12 CEST