473,386 Members | 1,644 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

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

att, thx.
Feb 11 '06 #1
3 1457
On 2006-02-11, Kenneth Xie <ma*************@gmail.com> wrote:
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.
Feb 11 '06 #2
On Sat, 11 Feb 2006 07:54:46 -0600, Charles Krug <cd****@aol.com> wrote:
On 2006-02-11, Kenneth Xie <ma*************@gmail.com> wrote:
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


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


Not true.

/Jorgen

--
// Jorgen Grahn <grahn@ Ph'nglui mglw'nafh Cthulhu
\X/ snipabacken.dyndns.org> R'lyeh wgah'nagl fhtagn!
Feb 11 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Howie | last post by:
Hi, i have just read a lot in "Large-Scale C++ Software Design" from John Lakos. This is an absolute great usefull book for everyone in a project team, and now i am worry about: Are there...
9
by: garth_rockett | last post by:
I am C++ programmer and enthusiast. Also, something of a book collector. Currently I am starting on the first project in my life where I need to be actively involved in the design of a data...
3
by: Alan Zhong | last post by:
i've searched for books in borders. i only found a lot on learning how to use the language in beginners' levels. what titles on C++ are talking about those unfamiliar topics that can help...
4
by: Magnus Lycka | last post by:
While I work at a company that uses Python a lot (and would have had a hard time finding such a place a few years ago) I don't really have a clear opinion on whether Python's marketshare (or...
26
by: puzzlecracker | last post by:
It'd be interesting to compare the learning practices of c++ practitioners. I'll start with mine The C++ Programming Language C++ Primer Effective C++ More Effective C++ Effective STL The...
6
by: Solo.Wolve | last post by:
I've just finished the K&R c, And begin to study c++ myself,so can anyone give me some advice?such as some books to read,and something to notice? Thank you very much.
11
by: Sampangi | last post by:
Can anyone suggest me few good books on c# ? TIA, Srinivas
11
by: d major | last post by:
Recently, I want to buy a new book of C++ for improving my C++ knowledges. I have been read <<The C++ Programming Language>and <<C++ Primer>> but both of are unfinished because they are too large....
10
by: V | last post by:
Hi, I'm a C++, Java and C programmer, and I'm searching for a (preferably printed) book that teaches me the "Python idioms", i.e. the "Python way" of doing something. Ideally, I'm searching...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.