🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: C++ syntactic trap

#3952
From: Ken Walter
Date: Mon, 08 Apr 1996 12:27
27 lines
1964 bytes
In message <4k3q4p$lkd@syn.cs.cornell.edu> - vavasis@CS.Cornell.EDU (Stephen Va

vasis) writes:

[...]
:>I would like to make a plea to the compiler-writers who read this
:>group: please issue warnings for syntactic trouble spots!  Implicit
:>type conversion probably creates other traps that I haven't thought
:>of.  C++ programmers like me need help from the compiler to navigate
:>the traps!
:>
[...]

C and C++ are one of the worst syntacticly designed languages around.
There is nothing to be done about it without severe redesign (a new language)
The only one I can think of that is worse is PL/1 where amost anything
you write has some meaning, just not necessarily what you expect.

Maybe, as they keep adding features to fix something, the language will break 
from all the syntatic twisting and someone will define a new replacement 
language with a decent syntax covering all the concepts. (Algol 00 ?)
---
[ comp.std.c++ is moderated.  To submit articles: try just posting with      ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu         ]
[ FAQ:      http://reality.sgi.com/employees/austern_mti/std-c++/faq.html    ]
[ Policy:   http://reality.sgi.com/employees/austern_mti/std-c++/policy.html ]
[ Comments? mailto:std-c++-request@ncar.ucar.edu                             ]
Technical Details
Message-ID: <4kat8s$2i6k@news.gate.net>
Path: arc1-ca.pugleaf.net!cs.mu.OZ.AU!bounce-back

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!cs.mu.OZ.AU!bounce-back
From: solution@gate.net (Ken Walter)
Newsgroups: comp.std.c++
Subject: Re: C++ syntactic trap
Date: 08 Apr 96 12:27:54 GMT
Organization: Solution Technology
Approved: fjh@cs.mu.oz.au
Message-ID: <4kat8s$2i6k@news.gate.net>
NNTP-Posting-Host: mundook.cs.mu.oz.au
X-Original-Date: 8 Apr 1996 11:28:28 GMT
Return-Path: <daemon@meeker.UCAR.EDU>
X-Newsreader: NeoLogic News for OS/2 [version: 4.2]
X-Auth: PGPMoose V1.1 PGP comp.std.c++
 iQBFAgUBMWkGVuEDnX0m9pzZAQHlVQF8CUAdhLIuIaaPWgPMgEFHaQQ0L1Adaoyh
 zR4Gx+wzJLbr6GDvBq0RVJy5khUER/mA
 =4LSx
Originator: fjh@mundook.cs.mu.OZ.AU