Is there any books such as 'effective python' or else about theperformance?

C

Charles Krug

att, thx.

A lot of the ideas discussed in Effective C++ et al are things that
Python does for us already. C++ works at a much lower layer of
abstraction and you need to deal explicitly with freestore for any
nontrivial class.

EC++ is mostly about how NOT to crash your programs.

The Python Cookbook is a "more pythonic" version of the same
idea--proven techniques appropriate to the abstraction level of the
language.

Design Patterns is worth reading as well, but be careful with it. Many
of the ideas that are difficult to do in C++, Java, Smalltalk, etc
(singletons come to mind) are trivially easy to do in Python because of
how our object model works.

Bruce Eckle's "Thinking in Python" gives a pattern introduction
explaining how things work in Python that can give you a sprinboard to
adapting other patterns from C++ et al.
 
J

Jorgen Grahn

A lot of the ideas discussed in Effective C++ et al are things that
Python does for us already. C++ works at a much lower layer of
abstraction
Yes.

and you need to deal explicitly with freestore for any
nontrivial class.

Not true.

/Jorgen
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,043
Latest member
CannalabsCBDReview

Latest Threads

Top