[TUHS] History of popularity of C

Tony Finch dot at dotat.at
Tue Jun 9 02:32:04 AEST 2020


Doug McIlroy <doug at cs.dartmouth.edu> wrote:

> Every ifdef is an ugly intrusion and a pain to read.

I maintain `unifdef`, which is not a complicated program to port but it
does require some platform-specific stuff on Windows (partly because of
the poor standards conformance of the Windows C library). There's a fun
rule that `unifdef` must contain no #ifdef (or #if etc.) so the
portability stuff is handled by the build scripts adjusting the include
path and list of object files. Not a very scalable solution :-)

Tony.
-- 
f.anthony.n.finch  <dot at dotat.at>  http://dotat.at/
Biscay: North or northwest 3 or 4, occasionally 5 at first. Slight or
moderate, becoming slight later. Showers, thundery in east. Good, occasionally
moderate.


More information about the TUHS mailing list