使用functional-java将闭包添加到Java生产项目有多安全? [英] How safe would it be to use functional-java to add closures to a Java production project?
问题描述
我想在Java中使用closures。我已经阅读,他们可能会也可能不会变成Java 7.但一个开源项目,名为功能-java 实现了功能特性,包括闭包。
在企业生产应用程序中使用这样的库有多安全?
是否有更好的方法来向Java添加闭包?
p> Closures绝对不会使它成为Java 7,因为缺乏对单一实现的共识。 请参阅此处。 / p>
功能Java库经过全面测试和积极开发。如果你浏览源代码,你会看到它只是简单的沼泽标准Java,没有很多可能会出错。我知道至少一个关键任务企业应用程序在生产中使用它。这个应用程式拥有超过一百万名使用者。
去吧。
I would love to use closures in Java. I have read that they may or may not make it into Java 7. But an open-source project called functional-java has implemented functional features including closures.
How safe would it be to use such a library in an enterprise production app?
Is there a better way to add closures to Java currently?
Closures will definitely not make it into Java 7, due to a lack of consensus around a single implementation. See here.
The Functional Java library is thoroughly tested and actively developed. If you browse the source you will see that it's just simple bog-standard Java, and there's not a lot that could go wrong. I know at least one mission-critical enterprise app that uses it in production. This application has more than a million users.
Go for it.
这篇关于使用functional-java将闭包添加到Java生产项目有多安全?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!