[FFmpeg-devel] #ifdef considered harmful

Måns Rullgård mans
Sat Mar 15 13:05:38 CET 2008

Luca Barbato <lu_zero at gentoo.org> writes:

> Diego Biurrun wrote:
>> I came across this excellent paper from 15 years ago:
>> #ifdef Considered Harmful, or Portability Experience With C News
>> http://doc.cat-v.org/henry_spencer/ifdef_considered_harmful
>> It's a nice short read and emphasizes the experiences we have had around
>> here.  It also comes to very similar conclusions, which is quite
>> gratifying.
> In the other news water is considered harmful yet useful...

Why so sarcastic?  Some of the examples in that paper are truly
horrific, and yet they are far from the worst I've seen.

M?ns Rullg?rd
mans at mansr.com

More information about the ffmpeg-devel mailing list