Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!feeds.phibee-telecom.net!usenet.ukfsn.org!not-for-mail From: Martin Gregorie Newsgroups: comp.lang.java.programmer Subject: Re: Call by Result Date: Sun, 12 Jun 2011 17:48:31 +0000 (UTC) Organization: UK Free Software Network Lines: 34 Message-ID: References: <4DF4E93F.7010100@NnOwSlPiAnMk.com> NNTP-Posting-Host: 84.45.235.129 Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: localhost.localdomain 1307900911 30710 84.45.235.129 (12 Jun 2011 17:48:31 GMT) X-Complaints-To: usenet@localhost.localdomain NNTP-Posting-Date: Sun, 12 Jun 2011 17:48:31 +0000 (UTC) User-Agent: Pan/0.133 (House of Butterflies) Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:5249 On Sun, 12 Jun 2011 09:28:47 -0700, Peter Duniho wrote: > Whatever you might think of Hungarian notation _or_ Microsoft, since it > was invented by Charles Simonyi _before_ he ever was entertaining the > idea of being a Microsoft employee, it is ridiculous to suggest that the > convention was invented in order to gloss over "deficiencies" in > Microsoft's compiler, real or imagined. > I wasn't pointing the finger exclusively at MS - a lot of the early K&R C compilers were awful and were certainly deficient in type matching, especially for pointer types. Remember, this was the era when almost all C compilers consisted of a control program and four separate subsidiary programs: macro-processor, C to assembler translator, assembler and linker. They often had to be that way because of current memory sizes. The first versions of MS C dated from that era, so it would be surprising if they didn't suffer from the same deficiencies. However, I admit that I still don't see any reason for introducing Hungarian notation except as a workround for the lack of rigour in the early compilers. Context: at that point, 1983/4, I taught myself C on 6809 boxes - Windrush C on a box with 48K RAM. The first halfway decent C I used was Microware's K&R flavour for OS-09/68K (which I still use from time to time). It was some time later that I started to use Borland C, with its excruciating four memory models plus near and far pointers and non-standard 'standard libraries', on a DOS box before moving to the Windows version with WfW 3.11. The first really good C I met was the DEC VAX flavour - and IIRC that was still K&R rather than ANSI. -- martin@ | Martin Gregorie gregorie. | Essex, UK org |