[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Tabs in source code (was: features of Apache-Subversion server.)

From: Kenneth Porter <shiva_at_sewingwitch.com>
Date: 2006-08-15 02:42:55 CEST

On Wednesday, August 09, 2006 6:53 PM +0200 Tobias Herp
<tobias.herp@gmx.de> wrote:

> No; it means, you can do everything using the HTTP protocol (with http://
> urls instead of svn://), plus you can view the latest versions of any
> file in a web browser (using the same http:// urls).

This is also a good reason to avoid tabs in source code, at least those
intended to represent variable indentation. Web browsers have no standard
for how to represent a tab, and I suspect most use the old 8-column
teletype standard. If you use tabs in your source code to represent some
other indentation (say, 2, 3, or 4 columns) and you do sub-statement
alignment (like lining up parameters under the opening paren) then it's
going to look wrong in a web browser.

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Aug 15 02:44:12 2006

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.