Re: Function definitions
Re: Function definitions
- Subject: Re: Function definitions
- From: Scott Ribe <email@hidden>
- Date: Tue, 11 Apr 2006 14:55:51 -0600
- Thread-topic: Function definitions
> Hard
> to figure out a simpler way of getting this done.
Well, header files *could* be eliminated and the info extracted from
implementation files, but that's not how C was designed back in the day when
4K was a lot of RAM ;-) It's not just theoretical, I have actually used a
system that did this, sort of a layer of abstraction over C++ provided by a
system which had a lot of built-in intelligence about the language, and
maintained class/function information in a database... Of course the company
went out of business years ago...
Java is somewhat similar, but of course some decisions that C makes at
compile time are deferred to run time, and the whole environment is
different. Nonetheless, the *necessity* of header files in C/C++ is just an
ancient implementation decision, now so thoroughly embedded in the tool
chain that there's no way to get rid of it, and so thoroughly embedded in
programmers' habits that not much thought is given to tools to make this
easier.
Well, there have been a couple of tools I've seen that tried to do this, but
I would still say that not much thought was given to it ;-)
--
Scott Ribe
email@hidden
http://www.killerbytes.com/
(303) 722-0567 voice
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden