编辑“︁
Modula-3
”︁(章节)
跳转到导航
跳转到搜索
警告:
您没有登录。如果您进行任何编辑,您的IP地址会公开展示。如果您
登录
或
创建账号
,您的编辑会以您的用户名署名,此外还有其他益处。
反垃圾检查。
不要
加入这个!
==对其他编程语言的影响== 尽管Modula-3没有获得主流地位,DEC-SRC M3发行的某些部份做到了。可能最有影响的一部份是网络对象库,它形成了[[Java]]包括了网络协议的最初的[[Java远程方法调用|远程方法调用]](RMI)实现的基础。在Sun从[[CORBA|通用对象请求代理架构]](CORBA)标准转移到[[通用对象请求代理间通信协议|基于IIOP的协议]]的时候才被放弃。Java关于远程对象的垃圾收集的文档仍提及了Modula-3网络对象为其先驱性工作<ref>[http://docs.oracle.com/javase/8/docs/platform/rmi/spec/rmi-arch4.html ''Garbage Collection of Remote Objects''] {{Wayback|url=http://docs.oracle.com/javase/8/docs/platform/rmi/spec/rmi-arch4.html |date=20211217025836 }}, Java Remote Method Invocation Documentation for Java SE 8.</ref> 。 [[Python]]从Modula-3借鉴了模块系统、例外系统和关键字参数,Python的类机制受到C++和Modula-3的启发<ref>{{cite web|url=https://docs.python.org/2/tutorial/classes.html#classes|title=The Python Tutorial - Classes|quote=It is a mixture of the class mechanisms found in C++ and Modula-3. ……As in Modula-3, there are no shorthands for referencing the object’s members from its methods: the method function is declared with an explicit first argument representing the object, which is provided implicitly by the call. ……I would use Modula-3 terms, since its object-oriented semantics are closer to those of Python than C++, but I expect that few readers have heard of it.|access-date=2018-07-01|archive-date=2020-12-03|archive-url=https://web.archive.org/web/20201203031225/https://docs.python.org/2/tutorial/classes.html#classes}}</ref>。[[Nim]]利用了Modula-3的某些方面比如有跟踪和无跟踪的指针。
摘要:
请注意,所有对Local Chinese Wikipedia的贡献均可能会被其他贡献者编辑、修改或删除。如果您不希望您的文字作品被随意编辑,请不要在此提交。
您同时也向我们承诺,您提交的内容为您自己所创作,或是复制自公共领域或类似自由来源(详情请见
Project:著作权
)。
未经许可,请勿提交受著作权保护的作品!
取消
编辑帮助
(在新窗口中打开)
导航菜单
个人工具
未登录
讨论
贡献
创建账号
登录
命名空间
页面
讨论
大陆简体
不转换
简体
繁體
大陆简体
香港繁體
澳門繁體
大马简体
新加坡简体
臺灣正體
查看
阅读
编辑
查看历史
更多
搜索
导航
首页
最近更改
随机页面
MediaWiki帮助
工具
链入页面
相关更改
特殊页面
页面信息