🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.misc
Article #4363

Re: Relative Speed of Perl vs. Tcl vs. C [indentation]

#4363
From: Mark Tillotson
Date: Fri, 16 Feb 1996 16:20
21 lines
1667 bytes
hdavies@kzin.mon.rnb.com (Hugh J.E. Davies) wrote:

> I actually like code that structures blocks by indentation, since it makes writing
> folding editors simple and it lays to rest once and for all the religious wars over
> brace placement. OTOH, I've never even *seen* any Python. (Other than Monty.)
> 
No no no no no.  The reasons why this is a fundamentally flawed idea
are endless: linewrap, tabs, painful to automatically generate code,
virtually impossible to stream-edit code, proportional fonts,
breakable v. non-breakable spaces of differing widths, difficulty of
cut-and-paste, impossible to use yacc-style tools, difficult to read
out over the phone, hard to internationalize, sensitive to identity of
newline character, macros, statements inside expressions, ...  

It is simply not a good idea, whitespace is too volatile to be a
syntactic marker, and counting spaces is too far removed from language
theory.

__Mark
[ markt@harlequin.co.uk | http://www.harlequin.co.uk/ | +44 1223 873829   ]
[ homepage http://www.hal.com/services/juggle/home/markt@harlequin.co.uk/ ]
Technical Details
Message-ID: <MARKT.96Feb16162033@atlas.harlqn.co.uk>
Path: arc1-ca.pugleaf.net!rocannon.cam.harlequin.co.uk!markt
References: <4g0bd6INNn9j@keats.ugrad.cs.ubc.ca> <4g1h0a$l72@orac.mon.rnb.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!rocannon.cam.harlequin.co.uk!markt
From: markt@harlqn.co.uk (Mark Tillotson)
Newsgroups: comp.lang.misc,comp.lang.perl.misc,comp.lang.tcl,comp.lang.c,comp.lang.java
Subject: Re: Relative Speed of Perl vs. Tcl vs. C  [indentation]
Date: 16 Feb 96 16:20:33 GMT
Organization: Harlequin Limited, Cambridge, England
Message-ID: <MARKT.96Feb16162033@atlas.harlqn.co.uk>
References: <4g0bd6INNn9j@keats.ugrad.cs.ubc.ca> <4g1h0a$l72@orac.mon.rnb.com>
NNTP-Posting-Host: atlas
In-reply-to: hdavies@kzin.mon.rnb.com's message of 16 Feb 1996 08:58:50 GMT