扔的历史? [英] The history of throw?

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

问题描述

我刚刚阅读_The_GNU_Emacs_Lisp_Reference_Manual_

on / Explicit / / Nonlocal / /退出/ [*]中的部分,不得不想知道首先使用什么语言

介绍了投掷,捕捉和放松。请注意,

(Emacs)Lisp没有称为异常的东西,也没有

''try''关键字。所以我们在C ++中找到的肯定不会从Lisp

中获取,如果它确实受到了Lisp的影响。我已经读过

,堆栈展开的概念是从Lisp借来的。有人

知道这段历史的细节吗?

http://www.gnu.org/software/emacs/el...30.html#SEC130

-

如果我们的假设是关于任何事情而不是关于某一个或多个特定事物,那么我们的推论就构成了数学。因此,数学可能被定义为我们永远不知道我们所讨论的是什么,以及我们所说的是否属实的主题。 - Bertrand

Russell

解决方案

" Steven T. Hatton" <苏****** @ setidava.kushan.aa>在留言中写道

news:qr ******************** @ speakeasy.net ...

我刚刚阅读了_The_GNU_Emacs_Lisp_Reference_Manual_
on / Explicit / / Nonlocal / /退出/ [*]中的部分,并不得不想知道首先引入了什么语言引入投掷,捕获和展开的想法。




可能是PL / I,大约在1968年。


Steven T. Hatton写道:
< blockquote class =post_quotes>
什么语言首先介绍了投掷,捕捉和展开的想法。




Fortran。

"备用RETURN允许程序将

返回给调用程序单元中的几个标记状态中的一个

,取决于整数的值变量。


E. Robert Tisdale写道:

Steven T. Hatton写道:


什么语言首先介绍了投掷,捕捉和
的想法展开。

Fortran。

备用RETURN允许程序返回到调用程序单元中的几个标记状态之一



到调用程序单元中的几个标记语句之一,取决于整数变量的值。



I just read the section in _The_GNU_Emacs_Lisp_Reference_Manual_
on /Explicit/ /Nonlocal/ /Exits/[*] and had to wonder what language first
introduced the idea of throwing, catching, and unwinding. Note that
(Emacs) Lisp does not have something called ''exception'', nor does it have a
''try'' keyword. So what we find in C++ is certainly not taken from Lisp
without modification if indeed it was influenced by Lisp at all. I''ve read
that the concept of ''stack unwinding'' was borrowed from Lisp. Does anybody
know the details of this history?

http://www.gnu.org/software/emacs/el...30.html#SEC130
--
"If our hypothesis is about anything and not about some one or more
particular things, then our deductions constitute mathematics. Thus
mathematics may be defined as the subject in which we never know what we
are talking about, nor whether what we are saying is true." - Bertrand
Russell

解决方案

"Steven T. Hatton" <su******@setidava.kushan.aa> wrote in message
news:qr********************@speakeasy.net...

I just read the section in _The_GNU_Emacs_Lisp_Reference_Manual_
on /Explicit/ /Nonlocal/ /Exits/[*] and had to wonder what language first
introduced the idea of throwing, catching, and unwinding.



Probably PL/I, in approximately 1968.


Steven T. Hatton wrote:


What language first introduced the idea of throwing, catching, and unwinding.



Fortran.

"The alternate RETURN allows a procedure to return
to one of the several labelled statenebts in the calling program unit
dependent upon the value of an integer variable."


E. Robert Tisdale wrote:

Steven T. Hatton wrote:


What language first introduced the idea of throwing, catching, and
unwinding.

Fortran.

"The alternate RETURN allows a procedure to return
to one of the several labelled statenebts in the calling program unit


to one of the several labelled statements in the calling program unit dependent upon the value of an integer variable."



这篇关于扔的历史?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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