编写可靠的代码簿 [英] Writing solid code book

查看:82
本文介绍了编写可靠的代码簿的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




还有另一本着名的书编写固体代码,但它是否适用于
Python?或者它只能由Microsoft C程序员使用?作者

似乎是前微软的家伙!


谢谢,

post400

Hi,

there is another famous book ''Writing solid code'' but does it apply to
Python ? Or it''s usable only by Microsoft C programmers ? The author
seems to be an ex-Microsoft guy !

Thanks ,
post400

推荐答案

>还有另一本着名的书编写固体代码,但它是否适用于
> there is another famous book ''Writing solid code'' but does it apply to
Python?或者它只能由Microsoft C程序员使用?作者
似乎是一个前微软人!
Python ? Or it''s usable only by Microsoft C programmers ? The author
seems to be an ex-Microsoft guy !




有趣的问题。这本书可能是使用Python而不是C来为

做一个很好的间接情况。我发现它很有用,当时我是我的b
程序员。 Python使本书中的许多要点毫无意义,而关于态度的最后一章也普遍适用。例如,断言在Python中不太有用,因为解释器本质上断言了每个语句的许多属性。在Python中,人们只想要解释器无法推断的条件下的断言。


BTW,当我还是C程序员的时候 ;代码完成本来可以完全回答这个问题,你做什么?这仍然是相关的,我会猜b



爱德华

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

Edward K. Ream电子邮件: ed ****** *@charter.net

狮子座:带有轮廓的文盲编辑器

狮子座: http://webpages.charter.net/edreamleo/front.html

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



Interesting question. This book probably makes a good indirect case for
using Python rather than C. I found it useful back when I was I C
programmer. Python makes many of the points in the book moot, and the last
chapter on attitude applies universally. For example, assertions are much
less useful in Python because the interpreter essentially asserts many
properties of each statement. In Python one wants assertions only for
conditions that the interpreter can''t possibly deduce.

BTW, back when I was a C programmer the book "Code Complete" would have been
a complete answer to the question, "what do you do?" It''s still relevant, I
would guess.

Edward
--------------------------------------------------------------------
Edward K. Ream email: ed*******@charter.net
Leo: Literate Editor with Outlines
Leo: http://webpages.charter.net/edreamleo/front.html
--------------------------------------------------------------------


文章< b1 ******************** ******@posting.google.com>,post400写道:
In article <b1**************************@posting.google.com >, post400 wrote:
还有另一本着名的书''编写固体代码'',但它适用于
Python?或者它只能由Microsoft C程序员使用?作者
似乎是一个前微软人!
there is another famous book ''Writing solid code'' but does it apply to
Python ? Or it''s usable only by Microsoft C programmers ? The author
seems to be an ex-Microsoft guy !




它主要处理特定于C的问题。

http://tinyurl.com/m3ta


但是,McConnel的Code Complete书非常笼统。


Dave Cook



It mainly deals with C-specific issues.

http://tinyurl.com/m3ta

However, the Code Complete book by McConnel is quite general.

Dave Cook


2003年9月3日04:39:02 - 0700, po*****@prontomail.com (post400)

写道:
On 3 Sep 2003 04:39:02 -0700, po*****@prontomail.com (post400)
wrote:
还有另一本着名的书编写固体代码,但它是否适用于Python?或者它只能由Microsoft C程序员使用?作者
似乎是一个前微软的家伙!
there is another famous book ''Writing solid code'' but does it apply to
Python ? Or it''s usable only by Microsoft C programmers ? The author
seems to be an ex-Microsoft guy !




忘掉这一个,当它来到时它不如Code Complete那么好/>
out,它的年龄不太好。它对于现在的程序员来说甚至没什么价值,它花了很多时间处理当时编译器和其他工具的不足之处!


更好的工具意味着它已经失去了它的紧迫性。


Alan G.

学习计划的作者网站
http://www.freenetpages.co.uk /hp/alan.gauld


这篇关于编写可靠的代码簿的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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