[Prev][Next][Index][Thread]
Re: C# is not Dylan (was: Re: C# : The new language from M$)
-
To: info-dylan@ai.mit.edu
-
Subject: Re: C# is not Dylan (was: Re: C# : The new language from M$)
-
From: Lyman Taylor <lyman.taylor@mindspring.com>
-
Date: Thu, 29 Jun 2000 13:30:02 -0400 (EDT)
-
Organization: MindSpring Enterprises
-
References: <57D01C66CBEFE28E.0140FBE2F42B8951.48F3FDB0A810D9E0@lp.airnews.net> <m3zoo7w69a.fsf@cadet.dsl.speakeasy.net> <huvjls0t6hfio3htr0r1ee3bk57b0th1dr@4ax.com> <c29g0pxbubg.fsf@nerd-xing.mit.edu> <kpamlscdjl89ihfhsdk3d4rinoa1hji78j@4ax.com> <bruce-3485B7.01374830062000@news.akl.ihug.co.nz> <395B53FD.2F3EE4CE@h2g2.com>
-
Reply-To: lyman.taylor@mindspring.com
-
Xref: traf.lcs.mit.edu comp.lang.lisp:54017 comp.lang.dylan:12274
Rob Myers wrote:
...
> .... but the
> semantics are pretty similar.
Huh???
Dylan C
reference based semantics value based semantics
(never make a copy unless ( always make copies)
explicity asked for)
operators are function calls operators tend to map to opocodes
most "statements" are expressions statements don't return values.
(e.g.
1 == if test then a else b end; )
There are not totally unsimilar, but there are some definately some stuff
that can throw a C programmer into confusion.
The presented code fragments were almost entirely "syntax", IMHO.
The "last expression, function's value" sematics are matched in
dylan and lisp whereas the C requires explicit control change.
I will grant that people present their most negative visceral reactions
to "alien" syntax. Second only to "alien" editors. :-) They seem to
much more forgiving of difference as long as it malleable enough to
tweaked to what they want. (if necessary, a big enough hammer to
fit round peg into square hole.
if test then temp := a else temp := b end;
1 == temp;
Or the classic "FORTRAN written in C". )
Lyman
Follow-Ups:
References: