From: Stefan Behnel on 11 Mar 2010 09:24 James Harris, 11.03.2010 09:30: > On 10 Mar, 15:19, kj<no.em...(a)please.post> wrote: >> Subject line pretty much says it all: is there a book like "Effective >> Java" for Python. I.e. a book that assumes that readers are >> experienced programmers that already know the basics of the language, >> and want to focus on more advanced programming issues? > > I don't know about the Java book you mention but I find Python in a > Nutshell published by O'Reilly to be a good reference. There's also the Python Cookbook that has a couple of useful recipes that can become handy at times. http://code.activestate.com/recipes/langs/python/ Stefan
From: kj on 11 Mar 2010 10:05 In <mailman.561.1268239578.23598.python-list(a)python.org> Chris Withers <chris(a)simplistix.co.uk> writes: >kj wrote: >> >> >> Subject line pretty much says it all: is there a book like "Effective >> Java" >oxymoronic, no? >Sorry, couldn't resist ;-) I hear you, but still: read "Effective Java" some day; it will make you a better programmer, whatever your language preference. I'm certainly no fan of Java, but I still rank Effective Java as one of my best reads on programming ever. I felt that my maturity as a programmer went up a notch or two after digesting this book. Cheers, ~K
From: Steve Howell on 11 Mar 2010 10:16 On Mar 11, 7:05 am, kj <no.em...(a)please.post> wrote: > In <mailman.561.1268239578.23598.python-l...(a)python.org> Chris Withers <ch...(a)simplistix.co.uk> writes: > > >kj wrote: > > >> Subject line pretty much says it all: is there a book like "Effective > >> Java" > >oxymoronic, no? > >Sorry, couldn't resist ;-) > > I hear you, but still: read "Effective Java" some day; it will make > you a better programmer, whatever your language preference. I'm > certainly no fan of Java, but I still rank Effective Java as one > of my best reads on programming ever. I felt that my maturity as > a programmer went up a notch or two after digesting this book. > I'll second that. I much prefer Python to Java, but Effective Java is an excellent book. Many of its topics would be applicable to Python, although the solutions in Python would obviously be different. Eliminate obsolete object references (use None to break reference counts) Avoid finalizers (use the "with" statement) Favor immutability Design method signatures carefully (including the x=[] gotcha) Optimize judiciously Don't ignore exceptions Avoid excessive synchronization There are also some topics in Effective Java where the advice is almost the opposite of Python tradition.
From: Kevin Walzer on 11 Mar 2010 10:44 On 3/10/10 10:19 AM, kj wrote: > Subject line pretty much says it all: is there a book like "Effective > Java" for Python. I.e. a book that assumes that readers are > experienced programmers that already know the basics of the language, > and want to focus on more advanced programming issues? > > ~K I haven't read "Effective Java," but I have found Lutz's "Programming Python" to be a very useful guide to solving various programming issues with the language. It's a big, big book, so there's lots to look at. -- Kevin Walzer Code by Kevin http://www.codebykevin.com
From: mk on 11 Mar 2010 12:28 kj wrote: > > > Subject line pretty much says it all: is there a book like "Effective > Java" for Python. I.e. a book that assumes that readers are > experienced programmers that already know the basics of the language, > and want to focus on more advanced programming issues? I'm surprised nobody mentioned Dive Into Python: http://diveintopython.org/ Available for free online. Most Python books contain a lot of 'hello world' material which for someone who knows at least one programming language is boring, this one doesn't, it cuts straight to the point. I found it very readable. Regards, mk
First
|
Prev
|
Next
|
Last
Pages: 1 2 3 Prev: os.rename [Errno 31] Too many links Next: Elementtree install problem in Ubuntu (a newbie ..) |