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

From: Payton Byrd <plbyrd1gmail.com>
Date: 2010-05-03 16:09:47
Working in C versus working with classes is a bit strange to me, I've been
doing almost exclusively object oriented for 13 years now.  I think I'm
going to do some consolidation of code.

On Mon, May 3, 2010 at 6:49 AM, Marc 'BlackJack Rintsch <marc@rintsch.de>wrote:

> 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!
>



-- 
Payton Byrd
<http://www.paytonbyrd.com>
<http://it.toolbox.com/blogs/paytonbyrd>

----------------------------------------------------------------------
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 16:10:13 2010

This archive was generated by hypermail 2.1.8 : 2010-05-03 16:10:15 CEST