皮皮学,免费搜题
登录
搜题
【单选题】
Programming Languages Programming languages are how people talk to computers. The computer would be just as happy speaking any language that was unambiguous. The reason we have high level languages is because people can't deal with machine language. The point of programming languages is to prevent our poor frail human brains from being overwhelmed by a mass of detail. Architects know that some kinds of design problems are more personal than others. One of the cleanest, most abstract design problems is designing bridges. Them your job is largely a matter of spanning a given distance with the least material. The other end of the spectrum is designing chairs. Chair designers have to spend their time thinking about human bodies. Software varies in the same way. Designing algorithms (运算法则) for routing data through a network is a nice, abstract problem, like designing bridges. Whereas designing programming languages is like designing chairs: it's all about dealing with human weaknesses. Most of us hate to acknowledge this. Designing systems of great mathematical elegance sounds a lot more appealing to most of us than pandering to human weaknesses. And there is a role for mathematical elegance: some kinds of elegance make programs easier to understand. But elegance is not an end in itself. And when I say languages have to be designed to suit human weaknesses, I don't mean that languages have to be designed for bad programmers. In fact I think you ought to design for the best programmers, but even the best programmers have limitations. I don't think anyone would like programming in a language where all the variables were the letter x with integer subscripts. If you look at the history of programming languages, a lot of the best ones were languages designed for their own authors to use, and a lot of the worst ones were designed for other people touse. When languages are designed for other people, it's always a specific group of other people: people not as smart as the language designer. So you get a language that talks down to you. Cobol (计算机通用语言) is the most extreme case, but a lot of languages are pervaded by this spirit. It has nothing to do with how abstract the language is. C is pretty low-level, but it was designed for its authors to use, and that's why hackers like it. The argument for designing languages for bad programmers is that there are more bad programmers than good programmers. That may be so. But those few good programmers write a disproportionately large percentage of the software. I'm interested in the question, how do you design a language that the very best hackers will like? I happen to think this is identical to the question, how do you design a good programming language? Give the Programmer as Much Control as Possible. Many languages (especially the ones designed for other people) have the attitude of a governess: they try to prevent you from doing things that they think aren't good for you. I like the opposite approach: give the programmer as much control as you can. When I first learned Lisp (表处理语言), what I liked most about it was that it considered me an equal partner. In the other languages I had learned up till then, there was the language and there was my program, written in the language, and the two were very separate. But in Lisp file functions and macros I wrote were just like those that made up the language itself. I could rewrite the language if I wanted. It had the same appeal as open-source software. Aim for Brevity. Brevity is underestimated and even scorned. But if you look into the hearts of hackers, you'll see that they really love it. How many times have you heard hackers speak fondly of how in, say, APL, they could do amazing things with just a couple lines of code? I think anything that really smart people really love is worth paying attention to. I think al
A.
Y
B.
N
C.
NG
拍照语音搜题,微信中搜索"皮皮学"使用
参考答案:
参考解析:
知识点:
.
..
皮皮学刷刷变学霸
举一反三
【多选题】新生儿用药容易导致的不良反应是:
A.
磺胺类导致脑组织黄染
B.
氯霉素致灰婴综合征
C.
局部过多使用硼酸可致中毒
D.
吲哚美辛导致腹泻
E.
新生霉素致高胆红素血症
【单选题】属于一类高层民用建筑的是()。
A.
建筑高度大于54m的住宅建筑
B.
建筑高度大于40m的公共建筑
C.
建筑高度大于27m但不大于54m的住宅建筑
D.
藏书超过50万册的图书馆
【多选题】财产清查的范围包括()
A.
出租财产
B.
受托加工物资
C.
委托加工物资
D.
各项债权债务
E.
租人包装物
【判断题】建筑高度大于50m的住宅建筑属于一类高层民用建筑。
A.
正确
B.
错误
【多选题】习近平经济思想体系中,经济新常态的特征有( )
A.
速度变化
B.
结构优化
C.
科技创新
D.
动力转换
【单选题】某大学宿舍楼,建筑屋面为平屋面,并设有女儿墙和水箱间,每层建筑面积 1200 m2,建筑室外设计地面至建筑平屋面和女儿墙的高度分别为 50m 和 51.2m ;水箱间的高度为 2.5m ,占屋面面积为 130 m2。根据《建筑设计防火规范》( GB50016-2014 )规定的建筑分类,该建筑的类别属于( )
A.
二类高层住宅建筑
B.
一类高层住宅建筑
C.
一类高层公共建筑
D.
二类高层公共建筑
【多选题】新生儿酶系不成熟或分泌不足,容易导致的不良反应是
A.
磺胺类导致核黄疸
B.
氯霉素致灰婴综合征
C.
呋喃类可引起溶血
D.
卡那霉素易造成中毒
E.
新生霉素致高胆红素血症
【简答题】 试比较农村社区与城市社区的主要差异。
【多选题】财产清查的范围包括 ( )
A.
本单位的全部资产
B.
本单位为其他单位代管的财产物资
C.
预收账款、应付账款等负债
D.
本单位财产物资的保管人员和使用人员
【多选题】财产清查的范围包括
A.
货币资金的清查
B.
各种存货的清查
C.
固定资产的清查
D.
应收、应付、预收、预付等各种往来款项的清查
E.
委托加工或受托加工的材料以及租赁的固定资产、包装物的清查
相关题目: