[XQuery Talk Mailing List Archive Home] [By Date] [By Thread] [By Subject] [By Author] [Recent Entries] [Reply To This Message]

comment out all the rest of the program

Mike Sokolov sokolov at ifactory.com
Fri Mar 9 10:39:44 PST 2012


  comment out all the rest of the program
The idea of a "comment to end of file" concept is unusual.  But "comment 
to beginning of file" - that's something I think we could all really get 
behind.

-Mike Sokolov

On 03/09/2012 03:13 AM, Michael Kay wrote:
> >You see I sadly miss the ability to add # to comment one line =bla
>
> I guess every programming language has some individual features which 
> will be sorely missed by someone coming to XQuery from that particular 
> language. (I still pine after a language that allowed spaces in 
> variable and function names). The consequence of this line of 
> reasoning is that XQuery should offer every feature that has been 
> offered by every other popular programming language.
>
> Personally, I've never come across a "comment to end of file" feature 
> in any of the many languages I have used, and have never felt a need 
> for it. As for "comment to end of line", we made a conscious decision 
> that in many of the environments where XQuery is likely to be used, 
> line endings are potentially unstable (e.g. they can be normalized 
> away if used in XML attributes) and that it was therefore a bad idea 
> to treat a line ending differently from a space.
>
> Michael Kay
> Saxonica
>
> _______________________________________________
> http://x-query.com/mailman/listinfo/talk
> http://x-query.com/mailman/listinfo/talk


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2011 All Rights Reserved.