皮皮学,免费搜题
登录
搜题
【单选题】
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.
近光灯
【判断题】旅客列车的尾部标志应使用电灯。
A.
正确
B.
错误
【多选题】下列对资产负债管理目标的说法,正确的有( )。
A.
短期管理目标以净利息收益率(NIM)为核心
B.
净利息收益率(NIM)越高,蕴含的结构风险可能越低
C.
经济资本回报率(RAROC)是长期管理指标
D.
经济资本回报率(RAROC)衡量了资本的使用效率
E.
实现经济资本回报率(RAROC)最大化是长期管理目标
【单选题】风险是人们对未来行为的决策及客观条件的不确定性而可能引起的后果与预定目标发生某种偏离,现代经济金融体系下风险管理的重要性越发凸显。下列关于金融风险管理方法的说法不正确的是( )
A.
现货资产没有对应的期货产品时无法实施套期保值策略
B.
资产负债管理针对表内科目头寸,套期保值则通常针对表外科目头寸
C.
购买保险通常用于管理某些特殊的金融风险
D.
套期保值一般通过持有与原风险头寸相反的套期保值工具来消除风险
【单选题】各企业使用的账务处理程序虽然不同,但各种账务处理程序存在着密切的关系,都是以( A )为基础发展演变而来的
A.
记账凭证账务处理程序
B.
科目汇总表账务处理程序
C.
汇总记账凭证账务处理程序
D.
日记总账账务处理程序
【单选题】旅客列车的尾部标志应使用( )。
A.
信号旗
B.
路徽
C.
列车方向牌
D.
电灯
【单选题】旅客列车的尾部标志应使用( )。
A.
路徽
B.
信号旗
C.
电灯
D.
列车方向牌
【单选题】风险是人们对未来行为的决策及客观条件的不确定性而可能引起的后果与预定目标发生某种偏离,现代经济金融体系下风险管理的重要性越发凸显。下列关于金融风险管理方法的说法不正确的是()
A.
购买保险通常用于管理某些特殊的金融风险
B.
资产负债管理针对表内科目头寸,套期保值则通常针对表外科目头寸
C.
套期保值一般通过持有与原风险头寸相反的套期保值工具来消除风险
D.
现货资产没有对应的期货产品时无法实施套期保值策略
【单选题】风险是人们对未来行为的决策及客观条件的不确定性而可能引起的后果与预定目标发生某种偏离,现代经济金融体系下风险管理的重要性越发凸显。下列关于金融风险管理方法的说法不正确的是( )
A.
现货资产没有对应的期货产品时无法实施套期保值策略
B.
购买保险通常用于管理某些特殊的金融风险
C.
资产负债管理针对表内科目头寸,套期保值则通常针对表外科目头寸
D.
套期保值一般通过持有与原风险头寸相反的套期保值工具来消除风险
【单选题】以下四种建筑围护结构中,相对来说( )耐热性最差。
A.
墙体
B.
窗户
C.
屋面
D.
钢筋混凝土柱
相关题目: