logo       

Re: recent "nice to read"s: msg#00037

t2.devel

Subject: Re: recent "nice to read"s

Hi,

On Monday 27 August 2007 18:02:09 Alexander Neundorf wrote:
> On Saturday 25 August 2007 05:56, René Rebe wrote:
> > Hi all,
> >
> > some recent "nice to read"s
> ...
> > the dark side of C++:
> > http://www.fefe.de/c++/c++-talk.pdf
>
> Some points are valid, others are simply his opinion, some should be just
> avoided:
> -never put "using namespace xyz;" in a header
> -use references as arguments only if they are const, otherwise if the value
> can be changed, use pointers
> -if complex template stuff to advanced for you, don't write such code
>
> And last but not least: try to write maintainable code :-)
> (you don't have to use all features just because they are available)
>
> It's not as if there would be only one standard for C, e.g. I think C99 has a
> bool.

Yes, sure. Apparently I'm myself quite in C++ :-)

17:28 <valentin> well, some of his rand is like "i missunderstood feature XY
and found out what it realy was and therefore
c++ sucks"
17:28 <valentin> like his ranting against non-persitency of iterators
17:28 <valentin> iterators are not stub-pointers
17:29 <valentin> they are just generic incremental accessors for use in
algorithms
17:29 <rene> well - one thing I also noticed was at() vs. operator[]

Greetings from Berlin,
René

--
René Rebe - ExactCODE GmbH - Europe, Germany, Berlin
Geschäftsführer: Susanne Klaus, René Rebe
Sitz: Berlin, Amtsgericht Charlottenburg HRB 105 123 B
USt-IdNr.: DE251602478
http://exactcode.de | http://t2-project.org | http://rene.rebe.name

-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
lists@xxxxxxxxxxxxxx with a subject of: unsubscribe t2
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise