Any information about C++0x...... Dose anyone know what the big difference are going to be? Am I going to have to learn everything over again?
Any information about C++0x...... Dose anyone know what the big difference are going to be? Am I going to have to learn everything over again?
For a new standard to be acceptable to the majority of users, it is generally considered better to make sure that the old style code works too - so "learning anew" is not the case. There will be some extensions to the existing language and library, but it's evolution, not revolution.
If you search the forum, you'll find a few references to and discussions about the new standard.
--
Mats
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.
I suggest that you read: The State of the Language: An Interview with Bjarne Stroustrup.
You could also read the Wikipedia article on C++0x, but it probably contains inaccuracies.
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)
I hope they finish it soon, otherwise they might need to call it C++1x Strange how the name isn't even Y2K compliant.
"I am probably the laziest programmer on the planet, a fact with which anyone who has ever seen my code will agree." - esbo, 11/15/2008
"the internet is a scary place to be thats why i dont use it much." - billet, 03/17/2010
The C++0A is more of an insider joke than a real idea, I think. But anyway.
The Wikipedia article is OK. There was one gross inaccuracy that I recently fixed, but I believe everything else is in pretty good shape.
All the buzzt!
CornedBee
"There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
- Flon's Law
The only major habit changing changes are concepts, which adds better type safety to templates, and nullptr.
Everything else is just features.
EDIT: forgot about nullptr.
Last edited by King Mir; 12-04-2008 at 05:29 PM.
It is too clear and so it is hard to see.
A dunce once searched for fire with a lighted lantern.
Had he known what fire was,
He could have cooked his rice much sooner.
If it was C++0A, it wouldn't make any sense.
It would probably be
C++0x0A
Although my point would be, why not just do
C+=2 or C+++ lol. Seems silly.
Anyway I thought C++ was finished, and D was going to be used in the future?
★ Inferno provides Programming Tutorials in a variety of languages. Join our Programming Forums. ★
I haven't tried it, but isn't it supposed to be a) compiled to machine code, b) do away with the backwards compatibility problems C++ inherited from C, c) let you do your own memory management (though garbage collection is also available). So exactly, what are your arguments against it?Forget D! Stay with the tried and true C++!
I might be wrong.
Quoted more than 1000 times (I hope).Thank you, anon. You sure know how to recognize different types of trees from quite a long way away.
Mostly unfamiliarity. It was sarcasm, not anti-arguments.
Also, D is too young to be practical yet. No good IDE to my knowledge. Lack of const correctness.
The whole function_name = n syntax is horrible and disgusting.
Perhaps D may become something yet, but as of right now, it is not.
D is not that young, but the fact that it still really hasn't caught on suggests that it won't.
D suffers from sitting in an uncomfortable middle ground (C++ programmers tend to see it as a peculiar little brother of C++, while Java/C# programmers have never heard of it and wouldn't care about such a language anyway) and from a rather poor standard library, which lacks vision and extent. (The Java standard library and the .Net framework have extent, the C++ standard library has vision.)
All the buzzt!
CornedBee
"There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
- Flon's Law
That's what I mean by young. It has one version, a second experimental and lacking features that C++ take for granted - such as const correctness and has a poor standard library.
Granted, that should all change over time, when it becomes older and is my point. D is too young right now.