[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: The Browser Wars are Dead! Long Live the Browser Wa rs!


tabstops in browser
"In reality, and despite the precedent set by make, Python's use of indentation
for delimiting blocks is very rarely a problem. As long as the indentation is
consistent, Python is happy. When tabs and spaces are mixed, Python uses the
rule that 1 tab is 8 spaces, (well, a tab takes you to the next tabstop, with
tabstops at 8, 16, ...). Most people like to use an indent level of 4.
Fortunately, almost all modern editors allow you to use the tab key and get 4
spaces, so Python need never fall back to these rules. If you find a file with
an inconsistent mixture of tabs and spaces, it will normally be visually
obvious. It will also normally produce syntax errors instead of incorrect
control flow. Executing Python with the -t or -tt options will make if very
obvious."

http://www.mcmillan-inc.com/python_index.html

At 23/10/2002 14:56:00, tblanchard@m... wrote:
#  On Wednesday, October 23, 2002, at 03:48  PM, John Cowan wrote:
#  >
#  > Python is essentially Scheme with indentation instead of parentheses.
#
#  Yeah, which seems fragile to me considering the number of programs and
#  editors I have lying around that silently convert tabs to n spaces and
#  vice versa - it just doesn't strike me as a robust syntax design.
#
#
#  -----------------------------------------------------------------
#  The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
#  initiative of OASIS <http://www.oasis-open.org>
#
#  The list archives are at http://lists.xml.org/archives/xml-dev/
#
#  To subscribe or unsubscribe from this list use the subscription
#  manager: <http://lists.xml.org/ob/adm.pl>
#
Roger



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
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

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-2013 All Rights Reserved.