Location>code7788 >text

Scala Programming Language Basics

Popularity:570 ℃/2024-09-20 22:46:10

 This article references the source:

 Scala Programming Language Basics - Munchkin Blog

I. Basic knowledge Scala is known as the golden language of big data, its inventor is Martin Odersky (Martin Odersky) was born in 2001, incorporating many features from Java and JS.

The Hadoop ecosystem is dominated by the java language, while Spark has scala as its main language

Top Foreign Programming Languages Salaries 2017

Scala has leaner code compared to java and can also interact with java

Spark, Flink, kafka are using scala development

In this course of study

Advanced function manipulation and implicit conversions need to be focused on

Need to know the java language before learning scala

II Getting to know scala

The official scala website:/

 


The Scala language is summarized below:

Introduction to Scala
Scala's full name is Scalable Language, that is, "scalable language" Scala is a multi-paradigm (multi-paradigm) synthesis of object-oriented and functional programming concepts of statically typed programming language Scala runs on the Java Virtual Machine, compatible with existing Java programs, can call existing Java class libraries, its source code is compiled Java byte code files Spark, Kafka and other underlying are Scala. Compatible with existing Java programs, you can call existing Java class libraries, its source code is compiled Java bytecode files Spark, Kafka, etc. The underlying layer is written in Scala.
Relationship between Scala and Java
Scala based on the JVM, reference to the idea of Java, can be said to be derived from Java, is the advanced version of Java
Benefits of Scala
Java-compatible Streamlined syntax High-level language features Static types