This is a discussion on Visit from Bjarne Stroustroup within the A Brief History of Cprogramming.com forums, part of the Community Boards category; Originally Posted by Yarin I also don't hardley use templates, it's just that everytime I need to use them there's ...
"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
For information on how to enable C++11 on your compiler, look here.
よく聞くがいい!私は天才だからね! ^_^
The amount of advantages C++0x has over C++ is very little. The amount of totally new features C++ has that weren't in C is a lot higher. And still C is still widely used 25 years later... (not only with embedded devices)
So, it may not die, but it certainly will take a lot of years for the industry to switch.
Copy-paste isn't inefficient and it won't take much longer to compile either. And there's a very good alternative to templates - using pointers.![]()
Last edited by maxorator; 11-10-2008 at 03:35 PM.
"The Internet treats censorship as damage and routes around it." - John Gilmore
Are you kidding me?
C++0x has huge potential over C++03.
R-value references, static assert, explicit conversion operators, interface requirements, variadic templates, lambda expressions...
Old habits die hard, I guess.The amount of totally new features C++ has that weren't in C is a lot higher. And still C is still widely used 25 years later... (not only with embedded devices)
Mostly I would say, is the fault of lacking libraries and solutions. Microsoft loves to tie all those things into its dot-crap-net framework instead of MFC or other native solutions.So, it may not die, but it certainly will take a lot of years for the industry to switch.
And you call yourself a C++ programmer? :|Copy-paste isn't inefficient and it won't take much longer to compile either. And there's a very good alternative to templates - using pointers.![]()
Last edited by Elysia; 11-10-2008 at 04:07 PM.
For information on how to enable C++11 on your compiler, look here.
よく聞くがいい!私は天才だからね! ^_^
I don't see why people think Chuck Norris is so awesome. If he was really as great as they say, he would be over here slamming my head into the keybsk;lah;flksalfksdnlcslcnsldk;acklsd;glfbaskfl
/* When I wrote this, only God and I understood what I was doing... Now, God only knows */
Of course, cpjust didn't call them the most important feature either. He said, "one of the most important," which is probably true.
Well yeah, that explains your anti-C++ approach with C instead...
Don't back-talk templates... it's the best feature C++ has :/
For information on how to enable C++11 on your compiler, look here.
よく聞くがいい!私は天才だからね! ^_^
This is exactly why I see so much "C+" code out there.![]()
"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