Learn Python the Hard Way

Author: Zed Shaw
Publisher: Addison-Wesley
Pages: 311
ISBN: 978-0321884916
Audience: Beginner
Rating: 3.5
Reviewed by: Mike Driscoll

Now in its 3rd edition, is this a useful introduction for Python beginners?

 

A few years ago, a fellow named Zed Shaw created a website called “Learn Python the Hard Way” that a lot of people praised. He kept updating it from time to time and eventually Addison-Wesley turned it into a book by the same name and they have now brought it out in its third edition. The website is made up of lots of short exercises that help beginner programmers learn the various nuances of Python but in bit-sized chunks. A DVD with more than 5 hours of tutorial is bundled with the book so that readers also have access to video material.

 

Banner

 

Two things to note before you begin are that the book is on Python 2 and you are warned against installing Python 3. As well as prohibiting the use of copy and paste, you are expected to use command line programming using PowerShell on Windows, Terminal on OSX or "Bash" on Linux. Shaw explicity tells you not to use IDLE or an alternative Python editor.

The book is split into 52 exercises or chapters, if you will. Most of the chapters are under four pages in length. In fact, there are a lot of chapters that have a blank page between it and the next chapter, so there is some filler going on here. Each chapter also has some drills and some common student questions in them.

 

 

As expected in an introductory text, you will learn about all the data structures that you’ll need as a Python programmer. From simple things like strings, dictionaries and lists, to conditionals, loops, functions and classes. They are all covered here. The book also goes over Booleans, Is-a / has-a, inheritance, composition, testing and the lpthw.web framework.

In the introduction, Mr. Shaw makes a big deal about how if you, the reader, feel like he is insulting your intelligence, then you are not in the intended audience for this book. That section alone is rather insulting whether you’re a beginner or not. I didn’t really appreciate it when he stated that “programmers lie frequently about being math geniuses when they really aren’t”. I assume he is attempting to be funny, but he comes across as snarky, at best.

Regardless of whether you enjoy that type of writing, the core content is pretty good. I like how each piece is put together and how the chapters build on each other, increasing the reader’s abilities one step at a time. I think beginners will benefit from the book, but I would recommend checking the website out before you purchase it.

 

Banner


The Art of Readable Code

Author: Dustin Boswell & Trevor Foucher
Publisher: O'Reilly
Pages: 204
ISBN: 978-0596802295
Aimed at: All programmers
Rating: 5
Pros: Practical, thought-provoking, amusing cartoons
Cons: You may have encountered ideas before
Reviewed by: Mike James

 

If you only read one book this year - make it this [ ... ]



Dart in Action

Author: Chris Buckett
Publisher: Manning, 2013
Pages: 424
ISBN: 978-1617290862
Audience: Object-oriented programmers
Rating: 4
Reviewer: Mike James

Dart is Google's "other language" but it could be important and there is a need for a good book to explain why Google thinks it's worth the effort.


More Reviews

 

Last Updated ( Monday, 03 February 2014 )
 
 

   
RSS feed of book reviews only
I Programmer Book Reviews
RSS feed of all content
I Programmer Book Reviews
Copyright © 2014 i-programmer.info. All Rights Reserved.
Joomla! is Free Software released under the GNU/GPL License.