1997Q2/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: Re: [MUD&#45;Dev] Languages -->
<!--X-From-R13: ptNnzv&#45;pt.UenlEntr.Sqzbagba.OP.QO (Quevf Uenl) -->
<!--X-Date: from scipio.globecomm.net [207.51.48.12] by mx01.ny.us.ibm.net id 863975855.67548&#45;1 Sun May 18 17:17:35 1997 -->
<!--X-Message-Id: 9705181712.80s1@ami&#45;cg.GraySage.Edmonton.AB.CA -->
<!--X-Content-Type: text/plain -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, Re: [MUD-Dev] Languages</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">
</head>
<body background="/backgrounds/paperback.gif" bgcolor="#ffffff"
      text="#000000" link="#0000FF" alink="#FF0000" vlink="#006000">

  <font size="+4" color="#804040">
    <strong><em>MUD-Dev<br>mailing list archive</em></strong>
  </font>
      
<br>
[&nbsp;<a href="../">Other Periods</a>
&nbsp;|&nbsp;<a href="../../">Other mailing lists</a>
&nbsp;|&nbsp;<a href="/search.php3">Search</a>
&nbsp;]
<br clear=all><hr>
<!--X-Body-Begin-->
<!--X-User-Header-->
<!--X-User-Header-End-->
<!--X-TopPNI-->

Date:&nbsp;
[&nbsp;<a href="msg00567.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00568.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00536.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00637.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00563">Author</A>
&nbsp;|&nbsp;<A HREF="#00563">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00563">Thread</A>
&nbsp;]

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>Re: [MUD-Dev] Languages</H1>
<HR>
<!--X-Subject-Header-End-->
<!--X-Head-of-Message-->
<UL>
<LI><em>To</em>: <A HREF="mailto:mud-dev#null,net">mud-dev#null,net</A></LI>
<LI><em>Subject</em>: Re: [MUD-Dev] Languages</LI>
<LI><em>From</em>: <A HREF="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</A> (Chris Gray)</LI>
<LI><em>Date</em>: Sun, 18 May 97 10:12:18 MST</LI>
</UL>
<!--X-Head-of-Message-End-->
<!--X-Head-Body-Sep-Begin-->
<HR>
<!--X-Head-Body-Sep-End-->
<!--X-Body-of-Message-->
<PRE>
[Chris L:]
:A key part of C's use of braces is implicit in the base design of the
:language (and obvious when looking at the BNF diagram).  In C, any place
:that a statement can be used (in a non-expression context), a pair of
:braces containing one or more statements can be used instead.	Its a
:slightly subtle and very pleasing piece of orthogonality, and is why:

[Example deleted]

Yep, that's true. However, it is also the cause of some of the problems
in C. It can be a pain to see something like this filling up some of your
window:

		}
	    }
	}
    }
}

I find myself getting lost a lot less often if it is instead:

		fi;
	    od;
	od;
    fi;
corp;

The compiler can recover a lot better, too, and often report errors more
reliably/understandably. This is one of those language-religion things
that everyone has their own view on. Food for endless debate! :-)

:There are lots of other more interesting examples, such as creating very
:locally scoped automatics:

No reason you can't do that with the keyword stuff - they can introduce a
new scope as well. I can't resist adding that

    if a &lt; b then
	f();
	g();
    fi;

has one less token in it than

    if (a &lt; b) {
	f();
	g();
    }

:-)   (And three more characters, although they are not shifted.)

--
Chris Gray   cg#ami-cg,GraySage.Edmonton.AB.CA

</PRE>

<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<HR>
<ul compact><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><A NAME="00637" HREF="msg00637.html">Re: [MUD-Dev] Languages</A></strong>
<ul compact><li><em>From:</em> clawrenc#cup,hp.com</li></ul>
</UL></LI></UL>
<!--X-Follow-Ups-End-->
<!--X-References-->
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00567.html">Re: [MUD-Dev]	Re: Issues from the digests and Wout's list</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00568.html">Re: [MUD-Dev] (fwd) Re: Issues from the digests and Wout's list</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00536.html">Re: [MUD-Dev] Languages</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00637.html">Re: [MUD-Dev] Languages</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00563"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00563"><STRONG>Thread</STRONG></A></LI>
</UL>
</LI>
</UL>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
<ul><li>Thread context:
<BLOCKQUOTE><UL>
<LI><STRONG>Re: [MUD-Dev] Languages</STRONG>, <EM>(continued)</EM>
<ul compact>
<LI><strong><A NAME="00529" HREF="msg00529.html">Re: [MUD-Dev] Languages</A></strong>, 
Jon A. Lambert <a href="mailto:jlsysinc#ix,netcom.com">jlsysinc#ix,netcom.com</a>, Sun 18 May 1997, 00:32 GMT
<UL>
<LI><strong><A NAME="00535" HREF="msg00535.html">Support mud [was Re: Languages]</A></strong>, 
Matt Chatterley <a href="mailto:root#mpc,dyn.ml.org">root#mpc,dyn.ml.org</a>, Sun 18 May 1997, 02:53 GMT
<UL>
<LI><strong><A NAME="00553" HREF="msg00553.html">Support mud [was Re: Languages]</A></strong>, 
Oliver Jowett <a href="mailto:oliver#sa-search,massey.ac.nz">oliver#sa-search,massey.ac.nz</a>, Sun 18 May 1997, 07:48 GMT
</LI>
</UL>
</LI>
<LI><strong><A NAME="00536" HREF="msg00536.html">Re: [MUD-Dev] Languages</A></strong>, 
coder <a href="mailto:coder#ibm,net">coder#ibm,net</a>, Sun 18 May 1997, 02:58 GMT
</LI>
</UL>
</LI>
<LI><strong><A NAME="00563" HREF="msg00563.html">Re: [MUD-Dev] Languages</A></strong>, 
Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Mon 19 May 1997, 00:17 GMT
<UL>
<LI><strong><A NAME="00637" HREF="msg00637.html">Re: [MUD-Dev] Languages</A></strong>, 
clawrenc <a href="mailto:clawrenc#cup,hp.com">clawrenc#cup,hp.com</a>, Wed 21 May 1997, 03:10 GMT
</LI>
</UL>
</LI>
<LI><strong><A NAME="00569" HREF="msg00569.html">Re: [MUD-Dev] Languages</A></strong>, 
Jeff Kesselman <a href="mailto:jeffk#tenetwork,com">jeffk#tenetwork,com</a>, Mon 19 May 1997, 03:25 GMT
<UL>
<LI><strong><A NAME="00572" HREF="msg00572.html">Re: [MUD-Dev] Languages</A></strong>, 
Adam Wiggins <a href="mailto:nightfall#user1,inficad.com">nightfall#user1,inficad.com</a>, Mon 19 May 1997, 07:02 GMT
</LI>
<LI><strong><A NAME="00640" HREF="msg00640.html">Re: [MUD-Dev] Languages</A></strong>, 
clawrenc <a href="mailto:clawrenc#cup,hp.com">clawrenc#cup,hp.com</a>, Wed 21 May 1997, 03:45 GMT
</LI>
</UL>
</LI>
</ul>
</LI>
</UL></BLOCKQUOTE>

</ul>
<hr>
<center>
[&nbsp;<a href="../">Other Periods</a>
&nbsp;|&nbsp;<a href="../../">Other mailing lists</a>
&nbsp;|&nbsp;<a href="/search.php3">Search</a>
&nbsp;]
</center>
<hr>
</body>
</html>