Welcome to Duncan White's Practical Software Development (PSD) Pages.

I'm Duncan White, an experienced and professional programmer, and have been programming for well over 30 years, mainly in C and Perl, although I know many other languages. In that time, despite my best intentions:-), I just can't help learning a thing or two about the practical matters of designing, programming, testing, debugging, running projects etc. Back in 2007, I thought I'd start writing an occasional series of articles, book reviews, more general thoughts etc, all focussing on software development without all the guff.

See all my Practical Software Development (PSD) Pages

picture of D. White


Using features from one Language in a language without them:
case study 2: bringing Recursive (Inductive) Data Types to ANSI C.

Example

Understanding The Generated Module - datatypes.h

If we look at datatypes.h, the interface of the automatically generated module built by datadec, we see several sections:

Understanding The Generated Module - clients (testintlist.c and testidtree.c)

Understanding The Generated Module - datatypes.c