Dive into Python

Source: Internet
Author: User

Translator's remarks:

As early as August 2008, I posted an article on my blog titled why <dive into Python> is not recommendable (http://blog.csdn.net/lanphaday/archive/2008/08/28/2845258.aspx)
), I won't talk much about the discussions that I had at the time. But today, many of my friends have left me a message to discuss with me, so that I can't believe it for a few times. I want to write more in-depth criticism. Good luck, I saw dive into Python must die before I was truly motivated! Therefore, I simply translated it and offered it as a response to my previous article.

==============================

Original article: http://oppugn.us/posts/1272050135.html

(Http://laiyonghao.com)
)

GOOG-GtC-from-human "dir =" LTR "> by Zed A. Shaw
Dive into Python

GOOG-GtC-from-MT "dir =" LTR "> I have enough.

Dive into Python
Is a book about learning
A bad book in Python cannot die.

Many people found this book and was designed by its extremely spam chapter.
On the way to study, I decided to declare war.

This book is incredible, and uses outdated technologies as an ugly example.
Son, and Mark Pilgrim (author) sneers at others' comments:

09:42 @
Diveintomark @ zedshaw has completely rewritten the first three chapters of a book I haven't taken care of for six years?

Yes, I will do it now.

11: 32
@ Diveintomark @ zedshaw you must have a lot of comments.

You 'd better write on your blog!

GOOG-GtC-from-human "dir =" LTR "> This is his answer to my question about deleting ODBC chapters from the book.

2010
Years ago, his damn book, known as the one that could teach everyone programming, still used the technology of the 1990s S.

Yes,In fact
He
When I was teaching Python six years agoStart
He wrote his book.

But even if it was stupid
.

This is unknown in the History of Science and Technology Books.

Mark Lutz's book "Learing
Python has been updated four times, and the content is strictly consistent with the programming language.

His book is easy to read and
It teaches you that you do not need to have much knowledge about computers.

At the same time, Mr. Pilgrim's book is already 6
Not updated in years. Although it is an online book, readers can submit patches for the author.

That's right. This guy's book is on the Internet.
He gave his comments and feedback, and he is still too lazy to update.

If he takes out the source code of the book, you can correct it for him.
But he does not. He put his crap on the Internet for free reading as the only way to compete with learing python.

Dive
Into python is not just named as a bad book because ODBC is used, and even the first example is as bad as shit.

Look at your first Python program.
How many things need beginners to understand:

  1. With a huge string of documents
    Define the function.
  2. The ugly double-underline variable also uses a spam
    It looks like a single underline.
  3. Use List
    Comprehension replaces the for loop, which is used to concatenate elements in the tuples into strings.
  4. It is not used to define the dictionary.
    The required backslash to format the code.

Is this a well-designed "first example?

Worse, it uses ODBC
The main line to teach python.

Although Python
It is actually one of the few languages that are easily designed to use, but when a beginner sees this book, he will think it is so complicated and difficult,

Can make them ashamed to hate one.
The head hits this book.

Dive into Python
The first example of 3 is also rotten.

Let's hide your first one.
Python Program
.

GOOG-GtC-from-human "dir =" LTR "> how cool this is!

The first program you wrote actually involves
So many knowledge points:

  1. Contains strings and lists and multi-layer dictionaries.
  2. Letter
    The number is followed by a string in the document, confusing the syntax.
  3. Throw an exception.
  4. For example
    How to use an if statement in the triplicate operator style.
  5. Nested loops.
  6. Master
    The function technique uses a very bad font, and the double and lower strokes look like a single underline.

This is the so-calledFirst
Program?

GOOG-GtC-from-human "dir =" LTR "> when someone asks a beginner to read dive into python, should they be discouraged from such an example?

I want the author to declare or warn
Everybody: this is not a beginner's book, but he does not.

In fact, he spent a whole chapter writing "Installation
Python 3 ", apparently it is written to beginners.

This book uses the worst-case example at the beginning, making it difficult for readers to learn it step by step. Its existence actually hurts python.

When beginners encounter setbacks, they will be discouraged and then turn to another language.

GOOG-GtC-from-human "dir =" LTR "> I personally have too many friends who were eager to learn programming, but found this stinking shit before I warned them, they finally moved away from programming.

I have finished speaking.

GOOG-GtC-from-human "dir =" LTR "> Mr. Pilgrim does not understand the needs of beginners (the same is true for other" experts "). He can only give you a piece of shit.

He does not want to update books and solve their obvious problems, and he has the freedom to do so. The only thing he can do is to ask everyone.No
This book is recommended.

For whatever purpose, tell others not to start learning from dive into python.

Otherwise, you will only keep him away from the language, or even programming.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.