转载自:http://www-pu.informatik.uni-tuebingen.de/users/klaeren/epigrams.html
Epigrams on Programming
Alan J. Perlis
Yale University
This text has been published in SIGPLAN Notices Vol. 17, No. 9, September 1982, pages 7 - 13. I'm offering it here online until ACM stops me.
The phenomena surrounding computers are diverse and yield a surprisingly rich base for launching metaphors at individual and group activities. Conversely, classical human endeavors provide an inexhaustible source of metaphor for those of us who are in labor within computation. Such relationships between society and device are not new, but the incredible growth of the computer's influence (both real and implied) lends this symbiotic dependency a vitality like a gangly youth growing out of his clothes within an endless puberty.
The epigrams that follow attempt to capture some of the dimensions of this traffic in imagery that sharpens, focuses, clarifies, enlarges and beclouds our view of this most remarkable of all mans' artifacts, the computer.
- One man's constant is another man's variable.
- Functions delay binding: data structures induce binding. Moral: Structure data late in the programming process.
- Syntactic sugar causes cancer of the semi-colons.
- Every program is a part of some other program and rarely fits.
- If a program manipulates a large amount of data, it does so in a small number of ways.
- Symmetry is a complexity reducing concept (co-routines include sub-routines); seek it everywhere.
- It is easier to write an incorrect program than understand a correct one.
- A programming language is low level when its programs require attention to the irrelevant.
- It is better to have 100 functions operate on one data structure than 10 functions on 10 data structures.
- Get into a rut early: Do the same processes the same way. Accumulate idioms. Standardize. The only difference (!) between Shakespeare and you was the size of his idiom list - not the size of his vocabulary.
- If you have a procedure with 10 parameters, you probably missed some.
- Recursion is the root of computation since it trades description for time.
- If two people write exactly the same program, each should be put in micro-code and then they certainly won't be the same.
- In the long run every program becomes rococo - then rubble.
- Everything should be built top-down, except the first time.
- Every program has (at least) two purposes: the one for which it was written and another for which it wasn't.
- If a listener nods his head when you're explaining your program, wake him up.
- A program without a loop and a structured variable isn't worth writing.
- A language that doesn't affect the way you think about programming, is not worth knowing.
- Wherever there is modularity there is the potential for misunderstanding: Hiding information implies a need to check communication.
- Optimization hinders evolution.
- A good system can't have a weak command language.
- To understand a program you must become both the machine and the program.
- Perhaps if we wrote programs from childhood on, as adults we'd be able to read them.
- One can only display complex information in the mind. Like seeing, movement or flow or alteration of view is more important than the static picture, no matter how lovely.
- There will always be things we wish to say in our programs that in all known languages can only be said poorly.
- Once you understand how to write a program get someone else to write it.
- Around computers it is difficult to find the correct unit of time to measure progress. Some cathedrals took a century to complete. Can you imagine the grandeur and scope of a program that would take as long?
- For systems, the analogue of a face-lift is to add to the control graph an edge that creates a cycle, not just an additional node.
- In programming, everything we do is a special case of something more general - and often we know it too quickly.
- Simplicity does not precede complexity, but follows it.
- Programmers are not to be measured by their ingenuity and their logic but by the completeness of their case analysis.
- The 11th commandment was "Thou Shalt Compute" or "Thou Shalt Not Compute" - I forget which.
- The string is a stark data structure and everywhere it is passed there is much duplication of process. It is a perfect vehicle for hiding information.
- Everyone can be taught to sculpt: Michelangelo would have had to be taught how not to. So it is with the great programmers.
- The use of a program to prove the 4-color theorem will not change mathematics - it merely demonstrates that the theorem, a challenge for a century, is probably not important to mathematics.
- The most important computer is the one that rages in our skulls and ever seeks that satisfactory external emulator. The standardization of real computers would be a disaster - and so it probably won't happen.
- Structured Programming supports the law of the excluded muddle.
- Re graphics: A picture is worth 10K words - but only those to describe the picture. Hardly any sets of 10K words can be adequately described with pictures.
- There are two ways to write error-free programs; only the third one works.
- Some programming languages manage to absorb change, but withstand progress.
- You can measure a programmer's perspective by noting his attitude on the continuing vitality of FORTRAN.
- In software systems it is often the early bird that makes the worm.
- Sometimes I think the only universal in the computing field is the fetch-execute-cycle.
- The goal of computation is the emulation of our synthetic abilities, not the understanding of our analytic ones.
- Like punning, programming is a play on words.
- As Will Rogers would have said, "There is no such thing as a free variable."
- The best book on programming for the layman is "Alice in Wonderland"; but that's because it's the best book on anything for the layman.
- Giving up on assembly language was the apple in our Garden of Eden: Languages whose use squanders machine cycles are sinful. The LISP machine now permits LISP programmers to abandon bra and fig-leaf.
- When we understand knowledge-based systems, it will be as before - except our finger-tips will have been singed.
- Bringing computers into the home won't change either one, but may revitalize the corner saloon.
- Systems have sub-systems and sub-systems have sub-systems and so on ad infinitum - which is why we're always starting over.
- So many good ideas are never heard from again once they embark in a voyage on the semantic gulf.
- Beware of the Turing tar-pit in which everything is possible but nothing of interest is easy.
- A LISP programmer knows the value of everything, but the cost of nothing.
- Software is under a constant tension. Being symbolic it is arbitrarily perfectible; but also it is arbitrarily changeable.
- It is easier to change the specification to fit the program than vice versa.
- Fools ignore complexity. Pragmatists suffer it. Some can avoid it. Geniuses remove it.
- In English every word can be verbed. Would that it were so in our programming languages.
- Dana Scott is the Church of the Lattice-Way Saints.
- In programming, as in everything else, to be in error is to be reborn.
- In computing, invariants are ephemeral.
- When we write programs that "learn", it turns out we do and they don't.
- Often it is means that justify ends: Goals advance technique and technique survives even when goal structures crumble.
- Make no mistake about it: Computers process numbers - not symbols. We measure our understanding (and control) by the extent to which we can arithmetize an activity.
- Making something variable is easy. Controlling duration of constancy is the trick.
- Think of all the psychic energy expended in seeking a fundamental distinction between "algorithm" and "program".
- If we believe in data structures, we must believe in independent (hence simultaneous) processing. For why else would we collect items within a structure? Why do we tolerate languages that give us the one without the other?
- In a 5 year period we get one superb programming language. Only we can't control when the 5 year period will begin.
- Over the centuries the Indians developed sign language for communicating phenomena of interest. Programmers from different tribes (FORTRAN, LISP, ALGOL, SNOBOL, etc.) could use one that doesn't require them to carry a blackboard on their ponies.
- Documentation is like term insurance: It satisfies because almost no one who subscribes to it depends on its benefits.
- An adequate bootstrap is a contradiction in terms.
- It is not a language's weaknesses but its strengths that control the gradient of its change: Alas, a language never escapes its embryonic sac.
- It is possible that software is not like anything else, that it is meant to be discarded: that the whole point is to always see it as soap bubble?
- Because of its vitality, the computing field is always in desperate need of new cliches: Banality soothes our nerves.
- It is the user who should parameterize procedures, not their creators.
- The cybernetic exchange between man, computer and algorithm is like a game of musical chairs: The frantic search for balance always leaves one of the three standing ill at ease.
- If your computer speaks English it was probably made in Japan.
- A year spent in artificial intelligence is enough to make one believe in God.
- Prolonged contact with the computer turns mathematicians into clerks and vice versa.
- In computing, turning the obvious into the useful is a living definition of the word "frustration".
- We are on the verge: Today our program proved Fermat's next-to-last theorem!
- What is the difference between a Turing machine and the modern computer? It's the same as that between Hillary's ascent of Everest and the establishment of a Hilton hotel on its peak.
- Motto for a research laboratory: What we work on today, others will first think of tomorrow.
- Though the Chinese should adore APL, it's FORTRAN they put their money on.
- We kid ourselves if we think that the ratio of procedure to data in an active data-base system can be made arbitrarily small or even kept small.
- We have the mini and the micro computer. In what semantic niche would the pico computer fall?
- It is not the computer's fault that Maxwell's equations are not adequate to design the electric motor.
- One does not learn computing by using a hand calculator, but one can forget arithmetic.
- Computation has made the tree flower.
- The computer reminds one of Lon Chaney - it is the machine of a thousand faces.
- The computer is the ultimate polluter. Its feces are indistinguishable from the food it produces.
- When someone says "I want a programming language in which I need only say what I wish done," give him a lollipop.
- Interfaces keep things tidy, but don't accelerate growth: Functions do.
- Don't have good ideas if you aren't willing to be responsible for them.
- Computers don't introduce order anywhere as much as they expose opportunities.
- When a professor insists computer science is X but not Y, have compassion for his graduate students.
- In computing, the mean time to failure keeps getting shorter.
- In man-machine symbiosis, it is man who must adjust: The machines can't.
- We will never run out of things to program as long as there is a single program around.
- Dealing with failure is easy: Work hard to improve. Success is also easy to handle: You've solved the wrong problem. Work hard to improve.
- One can't proceed from the informal to the formal by formal means.
- Purely applicative languages are poorly applicable.
- The proof of a system's value is its existence.
- You can't communicate complexity, only an awareness of it.
- It's difficult to extract sense from strings, but they're the only communication coin we can count on.
- The debate rages on: Is PL/I Bactrian or Dromedary?
- Whenever two programmers meet to criticize their programs, both are silent.
- Think of it! With VLSI we can pack 100 ENIACs in 1 sq.cm.
- Editing is a rewording activity.
- Why did the Roman Empire collapse? What is the Latin for office automation?
- Computer Science is embarrassed by the computer.
- The only constructive theory connecting neuroscience and psychology will arise from the study of software.
- Within a computer natural language is unnatural.
- Most people find the concept of programming obvious, but the doing impossible.
- You think you know when you learn, are more sure when you can write, even more when you can teach, but certain when you can program.
- It goes against the grain of modern education to teach children to program. What fun is there in making plans, acquiring discipline in organizing thoughts, devoting attention to detail and learning to be self-critical?
- If you can imagine a society in which the computer-robot is the only menial, you can imagine anything.
- Programming is an unnatural act.
- Adapting old programs to fit new machines usually means adapting new machines to behave like old ones.
- In seeking the unattainable, simplicity only gets in the way.
If there are epigrams, there must be meta-epigrams.
- Epigrams are interfaces across which appreciation and insight flow.
- Epigrams parameterize auras.
- Epigrams are macros, since they are executed at read time.
- Epigrams crystallize incongruities.
- Epigrams retrieve deep semantics from a data base that is all procedure.
- Epigrams scorn detail and make a point: They are a superb high-level documentation.
- Epigrams are more like vitamins than protein.
- Epigrams have extremely low entropy.
- The last epigram? Neither eat nor drink them, snuff epigrams.
分享到:
相关推荐
Alan Perlis 是计算机科学领域的一位先驱人物,他的33条编程准则(Alan Perlis’s Epigrams on Programming)被广泛引用。其中一些经典语录包括: 1. “We should forget about small efficiencies, say about 97% ...
关于编程的典范-艾伦·佩利斯(Alan J. Perlis) 一个人的常数就是另一个人的变量。 函数延迟绑定:数据结构诱导绑定。 道德:在编程过程中后期构造数据。 句法糖引起分号的癌症。 每个程序都是其他程序的一部分,很...
sql server+java项目之科帮网计算机配件报价系统源代码
有java环境就可以运行起来 ,zip里包含源码+论文+PPT, 系统设计与功能: 文档详细描述了系统的后台管理功能,包括系统管理模块、新闻资讯管理模块、公告管理模块、社区影院管理模块、会员上传下载管理模块以及留言管理模块。 系统管理模块:允许管理员重新设置密码,记录登录日志,确保系统安全。 新闻资讯管理模块:实现新闻资讯的添加、删除、修改,确保主页新闻部分始终显示最新的文章。 公告管理模块:类似于新闻资讯管理,但专注于主页公告的后台管理。 社区影院管理模块:管理所有视频的添加、删除、修改,包括影片名、导演、主演、片长等信息。 会员上传下载管理模块:审核与删除会员上传的文件。 留言管理模块:回复与删除所有留言,确保系统内的留言得到及时处理。 环境说明: 开发语言:Java 框架:ssm,mybatis JDK版本:JDK1.8 数据库:mysql 5.7及以上 数据库工具:Navicat11及以上 开发软件:eclipse/idea Maven包:Maven3.3及以上
zip里包含源码+论文+PPT,有java环境就可以运行起来 ,功能说明: 文档开篇阐述了随着计算机技术、通信技术和网络技术的快速发展,智慧社区门户网站的建设成为了可能,并被视为21世纪信息产业的主要发展方向之一 强调了网络信息管理技术、数字化处理技术和数字式信息资源建设在国际竞争中的重要性。 指出了智慧社区门户网站系统的编程语言为Java,数据库为MYSQL,并实现了新闻资讯、社区共享、在线影院等功能。 系统设计与功能: 文档详细描述了系统的后台管理功能,包括系统管理模块、新闻资讯管理模块、公告管理模块、社区影院管理模块、会员上传下载管理模块以及留言管理模块。 系统管理模块:允许管理员重新设置密码,记录登录日志,确保系统安全。 新闻资讯管理模块:实现新闻资讯的添加、删除、修改,确保主页新闻部分始终显示最新的文章。 公告管理模块:类似于新闻资讯管理,但专注于主页公告的后台管理。 社区影院管理模块:管理所有视频的添加、删除、修改,包括影片名、导演、主演、片长等信息。 会员上传下载管理模块:审核与删除会员上传的文件。 留言管理模块:回复与删除所有留言,确保系统内的留言得到及时处理。
内容概要:本文档详细介绍了LinkLab实验的五个阶段,涵盖了ELF文件的组成、符号表的理解、代码节与重定位位置的修改等内容。每个阶段都有具体的实验要求和步骤,帮助学生理解链接的基本概念和链接过程中涉及的各项技术细节。 适合人群:计算机科学专业的本科生,特别是正在修读《计算机系统基础》课程的学生。 使用场景及目标:① 通过实际操作加深对链接过程和ELF文件的理解;② 掌握使用readelf、objdump和hexedit等工具的技巧;③ 实现特定输出以验证实验结果。 阅读建议:实验过程中的每个阶段都有明确的目标和提示,学生应按照步骤逐步操作,并结合反汇编代码和二进制编辑工具进行实践。在完成每个阶段的实验后,应及时记录实验结果和遇到的问题,以便于总结和反思。
【资源说明】 基于关键词的历时百度搜索指数自动采集资料齐全+详细文档+高分项目+源码.zip 【备注】 1、该项目是个人高分项目源码,已获导师指导认可通过,答辩评审分达到95分 2、该资源内项目代码都经过测试运行成功,功能ok的情况下才上传的,请放心下载使用! 3、本项目适合计算机相关专业(人工智能、通信工程、自动化、电子信息、物联网等)的在校学生、老师或者企业员工下载使用,也可作为毕业设计、课程设计、作业、项目初期立项演示等,当然也适合小白学习进阶。 4、如果基础还行,可以在此代码基础上进行修改,以实现其他功能,也可直接用于毕设、课设、作业等。 欢迎下载,沟通交流,互相学习,共同进步!
第一次发文的小白,解释的不好,各位大佬勿怪哦
免费下载:Hilma af Klint a Biography (Julia Voss)_tFy2T.zip
屏幕截图 2024-12-21 172527
2024级涉外护理7班马天爱劳动实践总结1.docx
IndexOutOfBoundsException(解决方案)
有java环境就可以运行起来 ,zip里包含源码+论文+PPT, 系统设计与功能: 文档详细描述了系统的后台管理功能,包括系统管理模块、新闻资讯管理模块、公告管理模块、社区影院管理模块、会员上传下载管理模块以及留言管理模块。 系统管理模块:允许管理员重新设置密码,记录登录日志,确保系统安全。 新闻资讯管理模块:实现新闻资讯的添加、删除、修改,确保主页新闻部分始终显示最新的文章。 公告管理模块:类似于新闻资讯管理,但专注于主页公告的后台管理。 社区影院管理模块:管理所有视频的添加、删除、修改,包括影片名、导演、主演、片长等信息。 会员上传下载管理模块:审核与删除会员上传的文件。 留言管理模块:回复与删除所有留言,确保系统内的留言得到及时处理。 环境说明: 开发语言:Java 框架:ssm,mybatis JDK版本:JDK1.8 数据库:mysql 5.7及以上 数据库工具:Navicat11及以上 开发软件:eclipse/idea Maven包:Maven3.3及以上
有java环境就可以运行起来 ,zip里包含源码+论文+PPT, 系统设计与功能: 文档详细描述了系统的后台管理功能,包括系统管理模块、新闻资讯管理模块、公告管理模块、社区影院管理模块、会员上传下载管理模块以及留言管理模块。 系统管理模块:允许管理员重新设置密码,记录登录日志,确保系统安全。 新闻资讯管理模块:实现新闻资讯的添加、删除、修改,确保主页新闻部分始终显示最新的文章。 公告管理模块:类似于新闻资讯管理,但专注于主页公告的后台管理。 社区影院管理模块:管理所有视频的添加、删除、修改,包括影片名、导演、主演、片长等信息。 会员上传下载管理模块:审核与删除会员上传的文件。 留言管理模块:回复与删除所有留言,确保系统内的留言得到及时处理。 环境说明: 开发语言:Java 框架:ssm,mybatis JDK版本:JDK1.8 数据库:mysql 5.7及以上 数据库工具:Navicat11及以上 开发软件:eclipse/idea Maven包:Maven3.3及以上
zip里包含源码+论文+PPT,有java环境就可以运行起来 ,功能说明: 文档开篇阐述了随着计算机技术、通信技术和网络技术的快速发展,智慧社区门户网站的建设成为了可能,并被视为21世纪信息产业的主要发展方向之一 强调了网络信息管理技术、数字化处理技术和数字式信息资源建设在国际竞争中的重要性。 指出了智慧社区门户网站系统的编程语言为Java,数据库为MYSQL,并实现了新闻资讯、社区共享、在线影院等功能。 系统设计与功能: 文档详细描述了系统的后台管理功能,包括系统管理模块、新闻资讯管理模块、公告管理模块、社区影院管理模块、会员上传下载管理模块以及留言管理模块。 系统管理模块:允许管理员重新设置密码,记录登录日志,确保系统安全。 新闻资讯管理模块:实现新闻资讯的添加、删除、修改,确保主页新闻部分始终显示最新的文章。 公告管理模块:类似于新闻资讯管理,但专注于主页公告的后台管理。 社区影院管理模块:管理所有视频的添加、删除、修改,包括影片名、导演、主演、片长等信息。 会员上传下载管理模块:审核与删除会员上传的文件。 留言管理模块:回复与删除所有留言,确保系统内的留言得到及时处理。
DevExpressVCLProductDemos-24.2.3.exe
欢迎下载
有java环境就可以运行起来 ,zip里包含源码+论文+PPT, 系统设计与功能: 文档详细描述了系统的后台管理功能,包括系统管理模块、新闻资讯管理模块、公告管理模块、社区影院管理模块、会员上传下载管理模块以及留言管理模块。 系统管理模块:允许管理员重新设置密码,记录登录日志,确保系统安全。 新闻资讯管理模块:实现新闻资讯的添加、删除、修改,确保主页新闻部分始终显示最新的文章。 公告管理模块:类似于新闻资讯管理,但专注于主页公告的后台管理。 社区影院管理模块:管理所有视频的添加、删除、修改,包括影片名、导演、主演、片长等信息。 会员上传下载管理模块:审核与删除会员上传的文件。 留言管理模块:回复与删除所有留言,确保系统内的留言得到及时处理。 环境说明: 开发语言:Java 框架:ssm,mybatis JDK版本:JDK1.8 数据库:mysql 5.7及以上 数据库工具:Navicat11及以上 开发软件:eclipse/idea Maven包:Maven3.3及以上
资源描述: 机型代码:haotian 1-----工程固件可以用于修改参数 开启diag端口。可以用于修复tee损坏以及修复底层分区。 2-----此固件是完整官方。不是第三方打包。请知悉 3-----此固件可以解锁bl后fast模式刷写。也可以底层深刷。也可以编程器写入 4-----请会用此固件 了解工程固件常识以及会用的朋友下载。 5-----个别高版本深刷需要授权才可以刷入。需要自己会刷写。 6------资源有可复制性。下载后不支持退。请考虑清楚在下载哦 工程资源常识可以参考博文:https://blog.csdn.net/u011283906/article/details/141815378 了解基本