{$cfg_webname}
主页 > 外文翻译 > 计算机翻译 >

面向Java开发人员的Scala指南:类操作

来源:wenku7.com  资料编号:WK712026 资料等级:★★★★★ %E8%B5%84%E6%96%99%E7%BC%96%E5%8F%B7%EF%BC%9AWK712026
以下是资料介绍,如需要完整的请充值下载。
1.无需注册登录,支付后按照提示操作即可获取该资料.
2.资料以网页介绍的为准,下载后不会有水印.资料仅供学习参考之用. 帮助
资料介绍

外文翻译
面向Java开发人员的Scala指南:类操作(中文4500字,英文3100字)
    Java™ 开发人员可以将对象作为理解Scala的出发点。本文是面向Java开发人员的 Scala指南系列的第二期,作者Ted Neward遵循对一种语言进行评价的基本前提:一种语言的威力可以直接通过它集成新功能的能力衡量,在本文中就是指对复数的支持。跟随本文,您将了解在Scala中与类的定义和使用有关的一些有趣特性。
    在上一期文章中,您只是稍微了解了一些 Scala 语法,这些是运行 Scala 程序和了解其简单特性的最基本要求。通过上一篇文章中的Hello World 和 Timer 示例程序,您了解了Scala的Application类、方法定义和匿名函数的语法,还稍微了解Array[] 和一些类型推断方面的知识。Scala 还提供了很多其他特性,本文将研究 Scala 编程中的一些较复杂方面。

外文原文
The busy Java developer's guide to Scala: Class action
It makes sense for Java™ developers to use objects as a first point of reference for understanding Scala. In this second installment of The busy Java developer's guide to Scala series, Ted Neward follows a basic premise of language measurement: that the power of a language can be measured in direct relation to its ability to integrate new facilities -- in this case, support for complex numbers. Along the way you'll see some interesting tidbits related to class definitions and usage in Scala. In last month's article , you saw just a touch of Scala's syntax, the bare minimum necessary to run a Scala program and observe some of its simpler features. The Hello World and Timer examples from that article let you see Scala's Application class, its syntax for method definitions and anonymous functions, just a glimpse of an Array[], and a bit on type-inferencing. Scala has a great deal more to offer, so this article investigates the intricacies of Scala coding.

推荐资料