Re: PROPOSAL: dot-proc interface [was: /proc stuff]

Jonathan Lundell
2001-11-05T20:01:40Z

At 8:38 AM -0800 11/5/01, Stephen Satchell wrote:
>As for version fields: I HATE THEM. So much of my older code has
>bloat because of "version fields" that require that I have multiple
>blocks of code for the same damn thing. POSIX code that has to
>determine which version of POSIX is implemented, and tailor the code
>at run-time to the whims of the OS gods. BLOAT BLOAT BLOAT.
>Besides, you already have a "version field", or is the release level
>of Linux too coarse for you?

Either too coarse or too fine, often enough, when we're talking about
a semi-independent module. Consider, though, a more legitimate
non-bloating use of a version field. Rather than try to support all
versions, use it to determine whether the two ends of the
communication channel are compatible, and fail gracefully because of
the incompatible version. Tell the user to update the app, or
whatever.
--
/Jonathan Lundell.