On 18/02/12 04:54, Sturla Molden wrote: > This is not true. C++ can be much easier, particularly for those who > already know Python. The problem: C++ textbooks teach C++ as a subset > of C. Writing C in C++ just adds the complexity of C++ on top of C, > for no good reason. I can write FORTRAN in any language, it does not > mean it is a good idea. We would have to start by teaching people to > write good C++. E.g., always use the STL like Python built-in types > if possible. Dynamic memory should be std::vector, not new or malloc. > Pointers should be replaced with references. We would have to write a > C++ programming tutorial that is based on Pyton knowledge instead of > C knowledge.
Hello Sturla, unrelated to the numpy tewrite debate, can you please suggest some resources you think can be used to learn how to program C++ "the proper way"? Thank you. Cheers, -- Daniele _______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion