News for hackers. Stuff that matters.
Re:Why C++ is not my favourite language by ilyak on Friday August 28, 2009 @01:31PM (#791830)
Please never, never, never ever write C/C++.

С - simple and stable, C++ - huge and changing. C - portable and easily parseable, C++ - unpredictable and unparseable. C - good, C++ - bad.

Re:Why C++ is not my favourite language by acg on Friday August 28, 2009 @01:40PM (#791844)
I hear good stories about D from colleagues:

http://digitalmars.com/d/2.0/overview.html

Re:Why C++ is not my favourite language by dtf on Friday August 28, 2009 @02:29PM (#791955)
D's great for at least two reasons:

1) it set out to be a no-compromise systems programming language

2) it's being designed by people with an deep and intimate knowledge of C++ (Walter Bright wrote a C++ compiler - no mean feat, and Alexander Stepanov was Mr STL)

These guys know the good, the bad and the ugly of C++ much better than most. From the stuff I've seen so far (check out Stepanov's presentations on an iterator-free STL, or adding functional purity, and also look at the work on making floating point more rigorous) this could finally be a worthy successor.

Re:Why C++ is not my favourite language by eru on Friday August 28, 2009 @04:44PM (#792250)
3) You can declare functions to be pure. A lot of optimizations become possible.
Re:Why C++ is not my favourite language by Legion on Friday August 28, 2009 @04:04PM (#792170)
Actually, my reason for writing "C/C++" was simply because they're the two languages I see targeted by articles like these. It wasn't to lump them together as one; it was like writing "Ruby/Python".
Re:Why C++ is not my favourite language by polos on Friday August 28, 2009 @01:49PM (#791860)
So, you don't use a C++ compiler for your C code?

The old C infrastructure is really outdated already -- you can use C and a very limited subset of C++ (without OO), and be perfectly happy.

Re:Why C++ is not my favourite language by ilyak on Friday August 28, 2009 @04:45PM (#792257)
No, I'm using GCC.

How's it outdated? Linux kernel is written in it.

As for limited subset, people would push and push the boundaries until your code grows fangs and horns