官术网_书友最值得收藏!

  • Scala Programming Projects
  • Mikael Valot Nicolas Jorand
  • 267字
  • 2021-07-23 16:25:10

Writing Your First Program

In 2001, Martin Odersky started to design the Scala language – it took him three years to release the first public version. The name comes from Scalable language. This was chosen because Scala is designed to grow with the requirements of its users – you can use Scala for small scripts or for large enterprise applications.

Scala has been constantly evolving ever since, with a growing popularity. As a general purpose language, it is used in many different industries such as finance, telecoms, retail, and media. It is particularly compelling in distributed scalable systems and big data processing. Many leading open source software projects have been developed in Scala, such as Apache Spark, Apache Kafka, Finagle (by Twitter), and Akka. A large number of companies use Scala in production, such as Morgan Stanley, Barclays, Twitter, LinkedIn, The Guardian, and Sony.

Scala is not an extension of Java but is fully interoperable with it. You can call Java code from Scala, and you can call Scala code from Java. There is also a compiler to JavaScript, which we will explore later on in this book. You can, therefore, run Scala code in your browser.

Scala is a blend of object-oriented and functional programming paradigms, and it is statically typed. As such, it can serve as a bridge for people from an object-oriented or imperative background to move gradually to functional programming.

In this chapter, we will cover the following topics:

  • Setting up your environment
  • Using the basic features
  • Running the Scala Console
  • Using the Scala Console and Worksheet
  • Creating my first project
主站蜘蛛池模板: 高青县| 康乐县| 大城县| 忻州市| 茂名市| 法库县| 宝鸡市| 福鼎市| 前郭尔| 固镇县| 阿克苏市| 双柏县| 马鞍山市| 汨罗市| 车致| 临安市| 张家界市| 昭通市| 平安县| 娱乐| 改则县| 织金县| 通海县| 河北省| 乌鲁木齐市| 太和县| 汾西县| 阿克| 沐川县| 嘉善县| 综艺| 思南县| 夏邑县| 平潭县| 康乐县| 玉林市| 通河县| 阿拉尔市| 宾阳县| 齐齐哈尔市| 大埔区|