Re: To bean or not to bean

From: Steven T. Hatton (susudata_at_setidava.kushan.aa)
Date: 08/29/04


Date: Sat, 28 Aug 2004 22:52:10 -0400

Phlip wrote:
 
> F--- topicality. And Qt came first, right?

Qt development begain in 1991, and the first public release was on the 20th
of May, 1995. The same week as the first release of Java.
 
> The preprocessor rules.

The preprocessor is the main reason that there is no serious C++ contender
to the highly successful J2EE development platform. The Cpp, and the
techniques it supports do not scale to that level of programming.
Stroustrup has some opinions that I don't fully accept. AAMOF, my
intention in beginning this thread was to discuss one such opinion. In the
past, when I have taken a position contrary to his, I eventually came to
realize he was more correct than I originally thought. I can't imagine
anyone has a more extensive understanding of the relationship between C++
and the Cpp than he does. Why do you think he is wrong about it? (I can
only assume that was your intended meaning in saying "The preprocessor
rules".)

-- 
"[M]y dislike for the preprocessor is well known. Cpp is essential in C
programming, and still important in conventional C++ implementations, but
it is a hack, and so are most of the techniques that rely on it. ...I think
the time has come to be serious about macro-free C++ programming." - B. S.


Relevant Pages

  • Re: Question about Leverage source from Different Projects
    ... conditional preprocessor stuff INSIDE the stdafx.h depending on the project macro defined. ... There is, as far as I can tell, not even a discussion of the .cpp files, just a strange ... #pragma message ...
    (microsoft.public.vc.mfc)
  • Re: Conditional compilation sans the cpp
    ... a design for some kind of macro firewall that is supposed to isolate code ... from an effects from the preprocessor. ... I fully understand that the CPP has been used to to some great stuff. ... "There is only One inviolable Law" ...
    (comp.lang.cpp)
  • Re: Cpp Considered Harmful
    ... not bring down the server. ... > library management when finally addressing the preprocessor in the ... regarding the CPP. ...
    (comp.lang.cpp)
  • Re: The C++ Preprocessor [Re: Boost Workshop at OOPSLA 2004]
    ... > straight programming, template programming, or MPL-based programming. ... features of the preprocessor, because they would. ... Given those two things alone you could write a C++ interpreter with ... preprocessing tokens. ...
    (comp.lang.cpp)
  • Re: PL/I, COBOL, Advantages, Equivalence, et al
    ... of the preprocessor is not checked for correctness by the ... PL/I compiler. ... It's very useful for many functions -- defining data tables, defining terminal control sequences, producing generics (in the Ada sense) -- it's even been used to produce an analog of the COBOL Report Writer feature. ... The worst of making a religion of a programming language is that it can limit your ways of thinking. ...
    (comp.lang.pl1)