W3C home > Mailing lists > Public > www-ql@w3.org > April to June 2004

RE: questionable syntax choices for XQuery

From: Volkmann, Mark <Mark.Volkmann@AGEDWARDS.com>
Date: Thu, 22 Apr 2004 13:15:32 -0500
Message-Id: <89539780CB9BD51182270002A5897DF60C0228BE@hqempn04.agedwards.com>
To: 'Per Bothner' <per@bothner.com>
Cc: "'www-ql@w3.org'" <www-ql@w3.org>
> -----Original Message-----
> From: Per Bothner [mailto:per@bothner.com]
> Sent: Thursday, April 22, 2004 10:54 AM
> To: Volkmann, Mark
> Cc: www-ql@w3.org
> Subject: Re: questionable syntax choices for XQuery
> 
> Volkmann, Mark wrote:
> 
> > Ruby is an example of a programming language that doesn't 
> require any 
> > kind of statement terminating character.
> 
> http://www.ruby-lang.org/en/man-1.4/syntax.html#program says 
> otherwise:
> 
> "Ruby programs are sequence of expressions. Each expression are [sic] 
> delimited by semicolons(;) or newlines. Backslashes at the 
> end of line 
> does not terminate expression."

The key part of that is "or newlines".  Most Ruby programmers only use
semicolons in order to put more than one expression on the same line, which
isn't common.


-------------------------------------------------------------------------------------
A.G. Edwards & Sons' outgoing and incoming e-mails are electronically
archived and subject to review and/or disclosure to someone other 
than the recipient.

-------------------------------------------------------------------------------------
Received on Thursday, 22 April 2004 14:29:01 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 22 July 2006 00:10:19 GMT