logo       

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

t2.devel

Subject: Re: recent "nice to read"s

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.

Bye
Alex

-----------------------------------------------------------
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