RE: questionable syntax choices for XQuery

"Volkmann, Mark" <[email protected]>
Newsgroups gmane.comp.web.query-languages
Message-ID <[email protected]>
> -----Original Message-----
> From: Per Bothner [mailto:[email protected]]
> Sent: Thursday, April 22, 2004 10:54 AM
> To: Volkmann, Mark
> Cc: [email protected]
> 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.

-------------------------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.