Scala Tutorial 1 - Introduction to Scala

preview_player
Показать описание
- “Scala is an acronym for Scalable Language ”
- Scala is a modern multi-paradigm programming language designed to express common programming patterns in a concise, elegant, and type-safe way.
- Scala is written by Martin Odersky at EPFL.
- Scala is Statically Typed
- Scala Runs on JVM, full inter-op with Java.
- Scala is Object Oriented
- Scala is Functional
- Scala has Dynamic Features
- Scala is Scala blends object-oriented and functional programming in a statically typed language.

★★★Top Online Courses From ProgrammingKnowledge ★★★

★★★ Online Courses to learn ★★★

★★★ Follow ★★★

DISCLAIMER: This video and description contains affiliate links, which means that if you click on one of the product links, I’ll receive a small commission. This help support the channel and allows us to continue to make videos like this. Thank you for the support!
Рекомендации по теме
Комментарии
Автор

Consider a CSV, in the csv you're not allowed to have use "inferSchema", but manually devise a
way to infter the schema for the entire csv
Implement a way such that we can find datatype of each record in file by just looking at some
sample records without explicitly specifying schema.
Synopsis:
Given a function:
def SchemaConverter ([list of parameters]) : [return type] = {
function body
return [expr]
}
Implement the function as per given description, with schema inference to at least one type
such as Date or Time Type.
Input:
CSV
Output:
Schema of CSV.

dkumardn
Автор

plz make a video about cloud computing

surajrathod
Автор

scala dont have null pointer exception, did i hear any wrong?

amanvikram
Автор

I don't know why some people take issue with an Indian accent. I think it sounds just fine, even kind of adorable.

beback_
Автор

I have started following scala tutorials. I guess there are 11 videos now. Can I know how many more videos are coming to wind up scala learning?

NaveenKumar-nudx
Автор

can you add a video to this series on how to setup scala in vscode to run and debug easily?

Brucelee
Автор

Sir, please help me with this problem which I encountered while practicing ....
Suppose we want to sort a list of numbers in ascending order:

One way to sort the list List(7, 3, 9, 2) is to sort the tail List(3, 9, 2) to obtain List(2, 3, 9).

The next step is to insert the head 7 in the right place to obtain the result List(2, 3, 7, 9).

This idea describes Insertion Sort:

def insertionSort(xs: List[Int]): List[Int] = xs match {
case List() => List()
case y :: ys => insert(y, insertionSort(ys))
}
Complete the definition insertion sort by filling in the blanks in the definition below:

Run

val cond: (Int, Int) => Boolean = \\ first blank
def insert(x: Int, xs: List[Int]): List[Int] =
xs match {
case List() => x :: \\ second blank
case y :: ys =>
if (cond(x, y)) x :: y :: ys
else y :: insert(x, ys)
}
insert(2, 1 :: 3 :: Nil) shouldBe (1 :: 2 :: 3 :: Nil)
insert(1, 2 :: 3 :: Nil) shouldBe (1 :: 2 :: 3 :: Nil)
insert(3, 1 :: 2 :: Nil) shouldBe (1 :: 2 :: 3 :: Nil)

devashishkapadia
Автор

Hi, I would like to translate the subtitles of this video to spanish, but I can't add any translation.
Can you enable the comunity contribution mode?

castillokevin
Автор

Sir can you complete the series of scala language tutorial?

shamoonahmad
Автор

Is there any one who can do Scala assignments is urgent DM me

dheerajthatavarthy
Автор

har ek 2 3 tutorials bna ke bs ker deta hai

AliAhmad-lygu
Автор

o bhai koi playlsit complete ker kya basic basic se bna raha ... time waste krta hai tu

AliAhmad-lygu
Автор

i need your help @ProgrammingKnowledge

krishnatapse