新话混合示例
我已阅读 Newspeak on Squeak 教程,但我可以找不到有关 mixin 的信息或示例。
这肯定是相当微不足道的,因为任何类也是一个 mixin,但是你能给我一个例子吗? (或链接)
论坛目前似乎已关闭,所以我无法查看那里。 http://newspeaklanguage.org/forums/
I've read the Newspeak on Squeak tutorial, but I could not find information or examples on mixins.
It must be quite trivial, as any class is also a mixin, but could you give me an example? (or a link)
The forum seems to be down at the moment, so I couldn't look there.
http://newspeaklanguage.org/forums/
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
目前还没有 mixin 示例。
新话非常具有实验性。我使用也是实验性的 Agda 编程语言,但 Newpeak 更具实验性。文档很少,让我困扰的一件事是似乎不支持 64 位架构,所以你必须在 Linux 中安装所有额外的 32 位库。此外,还没有提供 64 位支持的日期。我还不确定是否有或将会有多线程支持。
如果您正在寻找实验性的、优秀的编程语言,请查看 Agda、Coq、F*(来自 MS)、Isabell/HOL 和 Haskell。
如果新话已经完成的话,它会是一种很好的语言。我担心当该语言可用时它会落后太多。
There are no mixin examples yet.
Newspeak is very experimental. I use the Agda programming language that is experimental too, but Newspeak is even more experimental. There is very little documentation and one thing that bothers me is that there seems to be no support for 64bit architectures, so you have to install all the extra 32bit libraries in linux. Also there is no date when 64bit support will be available. I am further not sure if there is or will be multi threading support.
If you are looking for experimental and good programming languages, check out Agda, Coq, F* (from MS), Isabell/HOL, and Haskell.
Newspeak would have been a good language if it were already finished. I fear that it will get too much behind by the time the language is usable.