🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c++
Article #1997

Re: Pascal-like 'with' statement feasible in C++?

#1997
From: Shankar Unni
Date: Wed, 20 Sep 1995 18:43
17 lines
1325 bytes
Kevin Lentin (kevinl@fangorn.cs.monash.edu.au) wrote:

> With is purely a piece of syntactical sugar (with some ugly type problems
> described elsewhere in this thread). It provides a way of making your life
> easier (or different). Not the compiler.

It is an evil piece of syntactic sugar. Wait till these "with"'s start
getting nested, and have giant, 500+-line blocks inside them. Reading the
resultant code is a *nightmare*.
--
Shankar Unni				E-Mail:	shankar@sgi.com
Silicon Graphics Inc.			Phone:	+1-415-390-2072
URL:	http://reality.sgi.com/employees/shankar
---
[ comp.std.c++ is moderated.  Submission address: std-c++@ncar.ucar.edu.
  Contact address: std-c++-request@ncar.ucar.edu.  The moderation policy
  is summarized in http://dogbert.lbl.gov/~matt/std-c++/policy.html. ]
Technical Details
Message-ID: <43pn06$b2k@fido.asd.sgi.com>
Path: arc1-ca.pugleaf.net!in2.uu.net!bounce-back
References: <MATT.95Sep14102849@physics10.Berkeley.EDU> <43k1g3$klh@engnews2.Eng.Sun.COM>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!in2.uu.net!bounce-back
Date: 20 Sep 95 18:43:00 GMT
Approved: fjh@cs.mu.oz.au
From: shankar@engr.sgi.com (Shankar Unni)
Newsgroups: comp.std.c++
Subject: Re: Pascal-like 'with' statement feasible in C++?
X-Original-Date: 20 Sep 1995 18:36:54 GMT
Organization: Silicon Graphics, Inc., Mountain View, CA
Message-ID: <43pn06$b2k@fido.asd.sgi.com>
References: <MATT.95Sep14102849@physics10.Berkeley.EDU> <43k1g3$klh@engnews2.Eng.Sun.COM>
Reply-To: shankar@engr.sgi.com
X-Newsreader: TIN [version 1.2 PL2]