home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!mcsun!sun4nl!cwi.nl!dik
- From: dik@cwi.nl (Dik T. Winter)
- Newsgroups: comp.lang.c
- Subject: Re: Moving from Pascal to C, Help please!!!!!!
- Message-ID: <8475@charon.cwi.nl>
- Date: 29 Dec 92 10:52:25 GMT
- References: <78858@hydra.gatech.EDU> <8474@charon.cwi.nl> <4269@dozo.and.nl>
- Sender: news@cwi.nl
- Organization: CWI, Amsterdam
- Lines: 19
-
- In article <4269@dozo.and.nl> jos@and.nl (Jos Horsmeier) writes:
- > In article <8474@charon.cwi.nl> dik@cwi.nl (Dik T. Winter) writes:
- > |The second is not a really valid complaint. The difference between call
- > |by value and call by reference is specific to Pascal (inherited from Algol
- > |60), and in fact artificial.
- >
- > If I remember well, the Algol 60 language had no such thing as `call by
- > reference'. This language implemented the `call by name' parameter passing
- > mechanism.
-
- Right, and I know that well enough (having programmed in Algol 60 for some
- 10 years). But as you mentioned the intent was to implement 'call by
- reference' and it was agreed that 'call by name' was not the way to go.
- I still maintain that Pascal's call by reference is in fact inherited
- from Algol 60's call by name (the other wide-spread languages of those
- times did not have such two distinctive parameter passing mechanisms).
- --
- dik t. winter, cwi, kruislaan 413, 1098 sj amsterdam, nederland
- home: bovenover 215, 1025 jn amsterdam, nederland; e-mail: dik@cwi.nl
-