Interview with Stroustrup back

(L) [2006/09/12] [greenhybrid] [Interview with Stroustrup] Wayback!

just read a neat interview with da man:

[LINK http://artlung.com/smorgasborg/Invention_of_Cplusplus.shtml]


Now, what do you think about the choice between c/c++?


We know all the pros and cons of the two, and for me, writing olde-schoole c is much more fun, but cpp has a lot of great advantages (same for c), so...let's talk a bit.




EDIT: was to fast again: above thing hoax is, but anyway, read it!
_________________
[LINK http://greenhybrid.net/] | [LINK mailto:root@greenhybrid.net root@greenhybrid.net]
(L) [2006/09/12] [playmesumch00ns] [Interview with Stroustrup] Wayback!

Hehe that's quite funny.


Personally I find the extended features of c++ make implementing systems much easier. I kinda like the way it's still c but with a few oo features cobbled on. I find it makes much more sense than something like Java where everything is a class. That just doesn't make sense to me.


I'd like to know more about the tradeoffs of using c++ tho, in terms of the cost of polymorphism compared to doing c-style switching on types to get a better understanding of where to use what.


I also love template metaprogramming. I hate the errors the compiler gives you when you make a typo, but the things the boost guys are doing with it are very cool indeed. I've been writing a 3d class library that i first bound to lua with luabind and now to python with boost::python to use as a scripted front-end to my renderer, and it's amazing the amount of leg work you can get the compiler to do for you. Which, after all, is the way it should be [SMILEY Smile]
(L) [2006/09/12] [Michael77] [Interview with Stroustrup] Wayback!

LOL  [SMILEY Laughing] That was funny.
(L) [2006/09/12] [Ho Ho] [Interview with Stroustrup] Wayback!

What I love about C++ the most is that it doesn't force almost anything. You can write plain old C with it whenever you want but you can also throw in all sorts of goodies like templates and STL.
_________________
In theory, there is no difference between theory and practice. But, in practice, there is.

Jan L.A. van de Snepscheut

back