- 授权协议: 未知
- 开发语言: Java
- 操作系统: 跨平台
- 软件首页: http://typeunsafe.github.io/coteline/
软件介绍
Coteline 是一个全新的基于 JVM 的编程语言。Coteline 是 Ceylon 的超集,并保持对 Ceylon 的向后兼容。
比 Ceylon 改进的地方包括:
"
publicas a service", becausesharedis not a good keyword.implements, because it is fancier thansatisfiesand it closes the gap for existing J2EE 1.3 developers.Call an
objectasingleton.Use
constin lieu ofvalue.Write
defas a Hipster-compliant variant offunction.Ink
Unitinstead ofvoidin your fine-crafted Coteline definitions.contractandtraitcarry more meaning thaninterface(and who cares about the actual formal semantics of these?).We think
prayis a better replacement forassert, because this is what you actually do when you write assertions.dynamicblocks are better named asunsafeblocks, because they escape the wonderland of static type checks.Parametric types with
in / outfor contravariance and covariance are hard to manipulate. This is also way too reminiscent of the C# world. Coteline provides salvation withcovarandcontravar.Last but not least, you can also write
foreachloops in Coteline.
示例代码:
"The classic Hello World program"
public Unit hello(String name = "World") {
const str = "Hello, `` name ``!";
def work() => print(str);
work();
pray(1 == 1);
plop.plop();
foreach (i in {1, 2, 3}) {
print(i);
}
}
singleton plop {
public Unit plop() {
print("Oh Plop!");
}
}
"Run the module `better.ceylon.is.coteline`."
public Unit run(){
if (nonempty args=process.arguments) {
foreach (arg in args) {
hello(arg);
}
}
else {
hello();
}
}
数据驱动:从方法到实践
桑文锋 / 电子工业出版社 / 2018-3 / 49
本书是从理论到实践的全面且细致的企业数据驱动指南,从作者的百度大数据工作说起,完整还原其从零到一构建百度用户行为大数据处理平台经历。详解大数据本质、理念与现状,围绕数据驱动四环节——采集、建模、分析、指标,深入浅出地讲述企业如何将数据驱动方案落地,并指出数据驱动的价值在于“数据驱动决策”、“数据驱动产品智能”。最后通过互联网金融、电子商务、企业服务、零售四大行业实践,从需求梳理、事件指标设计、数据......一起来看看 《数据驱动:从方法到实践》 这本书的介绍吧!
