[COFF] [TUHS] C vs Pascal thoughts - was Buffer overflow found/fixed in v4 tape ; )

Paul Winalski via COFF coff at tuhs.org
Wed Jan 7 02:37:58 AEST 2026


On Mon, Jan 5, 2026 at 5:31 PM Bakul Shah via COFF <coff at tuhs.org> wrote:

>
> 2.2 static variables --  I tend to believe using static vars is usually
> a mistake. Initialization -- saves some typing but that is about it.
>
> Static variables are useful where a subroutine must retain context betwen
invocations.  For example, the seed for a pseudo-random number generator.

-Paul W.


More information about the COFF mailing list