K
Keith Thompson
Skarmander said:But they *are* references, not pointers, in modern parlance, even if
back in 1976 this distinction was not made. Correct me if I'm wrong,
but I do not believe Algol 68 has pointers in the C sense -- things
you can point to arbitrary memory locations, perform arithmetic on,
cast to and from all sorts of types, and allowing dereferencing only
on the programmer's responsibility that it makes sense at all.
I think this is about to devolve into a debate over the meaning of the
term "pointer". That's sensible in the context of a single language,
but it's going to cause confusion if you try to define the term across
languages that have different semantics for similarly-named
constructs. Each language has its own terminology.
(Personally, I'd say that both Algol 68 and C have pointers; C's
pointers are just particularly undisciplined.)