Sensei wrote:
Artie Gold wrote: GIYF! (Try 'history of C language')
Sorry, but I couldn't find what I wanted... that's why I posted here :)
I'm interested in the place where variables were meant to be in early C,
and of course, its relation with assembly code...
C grew from B which grew from BCPL; any relationship with assembly
seems rather indirect.
BCPL allows variable declarations at the head of blocks (onlyish),
as C90 does.
BCPL also has mutually recursive definitions without need for
any kind of `forward` declaration, as C does not.
[And it has the "global vector", which fortunately didn't survive
the journey.]
--
Chris "electric hedgehog" Dollin
It's called *extreme* programming, not *stupid* programming.