🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #3923

Re: "Canadian style" of indentation

#3923
From: halasz
Date: Tue, 05 Sep 1995 03:24
18 lines
1359 bytes
In article <42d3e7$aks@mujibur.inmind.com>, mfinney@inmind.com writes
> Yes.  Tabs are simply unacceptable even without the use of
> indentation for control structure.
The real problem is that good support for tabs is not rife in editors.
Bad things found:
	That useless customarie 8-column tab-stopping:
	Why is this aspect of the KSR33 yet with thus??
	Fixd relation between blanks and tabs.  The editors that I know of
	assume that with a givven tabstop-setting it is safe to equate blanks
	and tabs.  If sumone has indented a line with HT,SP,SP,HT such an
	editor feels free to make it HT,HT when its feature for indenting-
	duplicating is uzed.
	Assuming that the terminal has tabstops eight columns apart.

In my code I indent with nothing but HT (I write neither Fortran nor COBOL).
If it is C, when printed it with tab-stops at least three columns
apart it looks all right.
If it is Bourne-shell code, well, it needs at least six columns.
Technical Details
Message-ID: <42gftv$lrp@caip.rutgers.edu>
Path: arc1-ca.pugleaf.net!caip.rutgers.edu!not-for-mail
References: <41g464$6vv@ruby.ucc.nau.edu> <41gvsi$hfv@mujibur.inmind.com> <42d3e7$aks@mujibur.inmind.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!caip.rutgers.edu!not-for-mail
From: halasz@caip.rutgers.edu
Newsgroups: comp.std.c
Subject: Re: "Canadian style" of indentation
Date: 4 Sep 1995 23:24:47 -0400
Organization: Rutgers University
Message-ID: <42gftv$lrp@caip.rutgers.edu>
References: <41g464$6vv@ruby.ucc.nau.edu> <41gvsi$hfv@mujibur.inmind.com> <42d3e7$aks@mujibur.inmind.com>
NNTP-Posting-Host: caip.rutgers.edu