如何成为一名真正优秀的Python程序员? [英] how to become a really good Python programmer?

查看:60
本文介绍了如何成为一名真正优秀的Python程序员?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经用Python编程了大约2年。我认为它提供了

我所拥有的任何语言的简单性和强大功能的最佳组合

探索。当我编写更多更大更复杂的程序时,我需要更好地使用
代码。通过更好,我的意思是更清晰,更清洁,更有效和可维护的b $ b。正如主题所述,我想成为一名非常优秀的Python程序员。我从随机的例子和

经验中学到了最多的东西,这很好,但现在我想要一些声音,指导

指导。继Guido周围将是理想的,但我会满足于

一本好书。有关学习资源的任何建议吗?


Randall

解决方案

2004年6月15日星期二晚上10点06分, Randall Smith写道:

我已经用Python编程了大约2年。我认为它提供了我所探索过的任何语言的简单性和强大功能的最佳组合。当我编写更多更大更复杂的程序时,我需要更好地编写代码。


[snip]

关注Guido周围是理想的,但我会满足于
一本好书。有关学习资源的任何建议吗?




是的。


1.导入此


2.写更多代码。你写的越多,你学习的机会就越多。


3.研究比你更有经验的人写的代码。标准库中有一个很好的代码,而且还有更多可用的

净值。选择一个包并阅读它,直到你理解它为止。评估它解决的问题以及它解决它们的问题。


4.重构你自己的代码,并在做这些时无情。没有

老师就像打破10,000行代码一样。


5.正如你现在所做的那样,不要停止学习。


-

Troy Melhase, tr ** @ gci.net

-

宽容是没有定罪的男人的美德。 - G. K. Chesterton


Randall Smith写道:

继Guido周围将是理想的,但我会满足于
一本好书。有关学习资源的任何建议吗?




成为非常好的一般也意味着犯下你自己的错误

和/或从别人的错误中吸取教训。


Python菜谱充满了出色的做事方式

你可能不会因为阅读文档或在你的
$中偶然发现b $ b日常工作。我更喜欢这本书,但内容全部都在网站上。


我建议在打开中编程。找一个开源的

项目并为它做一些代码。这将有机会让其他人批评你编码的内容,以及你看到其他人在公开场合编码的内容。如果您需要发布工程,文档,

配置管理,您还可以获得其他问题的赞赏

。这些都是编程的一部分。

以下是SourceForge上超过3,300个Python项目的列表:

http://sof.net/softwaremap/trove_list.php?form_cat=178

单独的第一页有各种各样的区域,所以你应该

能够找到你感兴趣的一些领域。它也很好

简历填充:-)

Roger


Hello Randall,

我已经用Python编程了大约2年。我认为它提供了我所探索过的任何语言的简单性和强大功能的最佳组合。当我编写更多更大更复杂的程序时,我需要更好地编写代码。通过更好,我的意思是更清晰,更清洁,更有效和可维护。正如主题所述,我想成为一名非常优秀的Python程序员。我从随机的例子和经验中学到了最多的东西,这很好,但现在我想要一些声音,指导
指导。继Guido周围将是理想的,但我会满足于
一本好书。有关学习资源的任何建议吗?



除了你会得到的其他建议,我建议你学习其他

编程语言。这将使您能够以不同的光线查看问题。


我建议至少使用一种lisp方言(方案非常适合学习)

和一个prolog方言。两者都有免费的口译员(我建议mzscheme和SWI prolog)。


HTH。


再见。

-

-------------------------------- -----------------------------------------

Miki Tebeka< mi ********* @ zoran.com>

儿童和成人之间的唯一区别是玩具的价格。


I''ve been programming in Python for about 2 years. I think it offers
the best combination of simplicity and power of any language I have
explored. As I write more and larger and complex programs, I need to
code better. By better I mean clearer, cleaner, more efficient and
maintainable. As the subject states, I want to become a really good
Python programmer. I learn most everything from random examples and
experience and that''s good, but now I would like some sound, directed
guidance. Following Guido around would be ideal, but I will settle for
a good book. Any recommendations for learning resources?

Randall

解决方案

On Tuesday 15 June 2004 10:06 pm, Randall Smith wrote:

I''ve been programming in Python for about 2 years. I think it offers
the best combination of simplicity and power of any language I have
explored. As I write more and larger and complex programs, I need to
code better.
[snip]
Following Guido around would be ideal, but I will settle for
a good book. Any recommendations for learning resources?



Yes.

1. import this

2. Write more code. The more you write, the more opportunity you have to
learn.

3. Study the code written by folks more experienced than you. There''s a ton
of good code in the standard library, and there''s even more available on the
net. Pick a package and read it until you understand it. Evaluate the
problems it solves and how well it solves them.

4. Refactor your own code, and be merciless when doing it. There''s no
teacher like breaking 10,000 lines of code.

5. Just as you are doing now, don''t stop learning.

--
Troy Melhase, tr**@gci.net
--
Tolerance is the virtue of the man without convictions. - G. K. Chesterton


Randall Smith wrote:

Following Guido around would be ideal, but I will settle for
a good book. Any recommendations for learning resources?



Becoming really good generally means also making your own mistakes
and/or learning from the mistakes of others.

The Python cookbook is full of excellent ways of doing things
you may not have stumbled upon by just reading the doc or in your
day to day work. I prefer the book, but the content is all on
the website as well.

I would recommend programming in the "open". Find an open source
project and do some code for it. That will give the chance for
others to critique what you have coded, as well as you seeing
what others code all out in the open. You also get an appreciation
for other issues if you want such as release engineering, documentation,
configuration management which are all part of programming.

Here is a list of over 3,300 Python projects at SourceForge:

http://sof.net/softwaremap/trove_list.php?form_cat=178

The first page alone has a wide variety of areas so you should be
able to find some areas that interest you. It also makes good
resume filler :-)

Roger


Hello Randall,

I''ve been programming in Python for about 2 years. I think it offers
the best combination of simplicity and power of any language I have
explored. As I write more and larger and complex programs, I need to
code better. By better I mean clearer, cleaner, more efficient and
maintainable. As the subject states, I want to become a really good
Python programmer. I learn most everything from random examples and
experience and that''s good, but now I would like some sound, directed
guidance. Following Guido around would be ideal, but I will settle for
a good book. Any recommendations for learning resources?


Apart from other recommendations you''ll get I suggest you learn other
programming languages. This will enable you to view problems in a
different light.

I recommend at least one lisp dialect (scheme is perfect for learning)
and one prolog dialects. Both have free interpreters available (I
recommend mzscheme and SWI prolog).

HTH.

Bye.
--
-------------------------------------------------------------------------
Miki Tebeka <mi*********@zoran.com>
The only difference between children and adults is the price of the toys.


这篇关于如何成为一名真正优秀的Python程序员?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆