The Elements of Programming Style 编程风格要素 中文英文中英对照 下面的程序风格规则提炼自Brian Kernighan和P. J. Plauger的经典著作《The Elements of Programming Style》(由McGraw Hill出版)。由于原书出版较早并主要针对Fortran语言,本文仅提炼适用于当今主流编程语言的风格要素。 ——Clive Studio 1.Write clearl...
DP: 生活的脚步,技术的点滴... 《The Elements of Programming Style 》是一本很古老的书。尽管 Fortran 我们不太使用,尽管新奇的语言层出不穷,但这些,30 年的岁月依旧无法掩盖其中的真知灼见。 英文版的 google 一下到处有,摘译几条。 把代码写清楚,别耍小聪明。 想干什么,讲的简单点、直接点。 只要有可...
网络释义 1. 编程风格要素 9.douban.com|基于2个网页 2. 编程风格的要素 www.mscto.com|基于 1 个网页 3. 程式撰写之基础要素 任何读过《程式撰写之基础要素》(The Elements of Programming Style)的人,都会对影片的技术错误感到烦躁不安,并且 …
The Elements of Programming Style的创作者· ··· 布莱恩·克尼汉作者 原文摘录 ··· * Write clearly - don't be too clever. * Say what you mean, simply and directly. * Use library functions. * Avoid temporary variables. * Write clearly - don't sacrifice clarity for "efficiency." ...
《The Elements of Programming Style》 《The Elements of Programming Style》是一本很古老的书,尽管新奇的语言层出不穷,但这些,30 年的岁月依旧无法掩盖其中的真知灼见。 • 把代码写清楚,别耍小聪明。 • 想干什么,讲的简单点、直接点。 • 只要有可能,使用库函数。
定价:USD 50.93 装帧:Paperback ISBN:9780070342071 豆瓣评分 9.3 47人评价 5星 63.8% 4星 29.8% 3星 6.4% 2星 0.0% 1星 0.0% 评价: 写笔记 写书评 加入购书单 分享到 推荐 The Elements of Programming Style (2/e)的创作者· ··· 布莱恩
The Elements of Programming Style 电子书 读后感 评分☆☆☆ 没研究过此书中代码所使用的Fortan和PL/I这两种语言,不过之前读过诸如Writing Solid Code、The Practice of Programming、编程珠玑一类的书,发现它们的Tips都是很类似的,比如:可读性、模块化、防御性编程、浮点计算和判等、数据结构决定程序、测试,等等。
As with the other works, some concepts have evolved as languages have evolved and the normal size of software projects has continued to expand. But the book still has many relevant points and is an interesting read for those wanting to delve into how software development as a process has ...
* 只要有可能,使用库函数。 * 避免使用太多的临时变量。 * ”效率“不是牺牲清晰性的理由。 * 让机器去干那些脏活。 * 重复的表达式应该换成函数调用。 * 加上括号、避免歧义。 * 不要使用含糊不清的变量名。 * 把不必要的分支去掉。 * 使用语言的好特性,不要使用那些糟糕的特性。
《《The Elements of Programming Style 》老人言》(https://www.unjs.com)。 使用统一的输入格式。 让输入容易校对。 如有可能,提供更自由的输入格式。 使用输入提示,允许使用默认值。并把它们显示出来。 把输入输出放到子程序里。 确保所有的变量在使用前都有初始化。