VehiclesFashionRecipesBlogsHuntTravelsSportFunHandmadeITEducation
Mini-Games
x

x
zakruti.com » IT - Software » freeCodeCamp.org
Functional Programming in Scala

Functional Programming in Scala

FBTwitterReddit

video description

Rating: 4.0; Vote: 1
After 10 years of Object Orientated Java, 2 years of Functional Programming in Scala was enough to convince me that I could never switch back. But why? The answer is simple: Functional Scala lets you think less. It reduces the number of moving parts you need to hold in your head, lets you stay focussed and saves your mental stack from overflowing. In this talk I'll show you how to stop treating Scala as a better Java and start exploring the world of Functional Programming. I'll use code examples to demonstrate a four step path that'll let you ease yourself into the world of Functional Programming while continuing to deliver production quality code. With each step we'll learn a new technique, and understand how it leaves you with less to think about: Hopefully this talk will convince you that Functional Scala leads to code that's easier to hold in your head, and leave you excited about learning a new paradigm. Original talk title: Thinking Less with Scala Talk by Daniel Sebban at Scalape-o. Check out his Medium page: https://medium.com/-daniel.sebban
Date: 2022-03-14

Comments and reviews: 5


File1 Code - -
class Abc --
//code-
--
File2 Code - -
Class Abc1 --
var a:Abc = null -
try --
a = new Abc()-
--
--
what does this line in file2 mean in scala -var a:Abc = null- where Abc is a class stored in file1

reply

This is a very good talk, I enjoyed it. But don't forget about stuff like this:
class WithFilter[K, +V, +IterableCC[_], +CC[_, _] Boolean-
) extends IterableOps.WithFilter[(K, V), IterableCC](self, p) with Serializable

reply

Omg! This lecture just made me rethink what I-ve been doing for the past 12 years of my career.
I-m going to start a new big data project real soon. Is this something that can be applied in such a project?

reply

If the inc function is handed the max value of int as its parameter, it should result in an exception as well ... and therefore is not a pure function either
reply

20:04 - yes the compiler works pretty heavily, that's why I bought the 32 core AMD, the compiler works faster! It is a pleasure really.
reply
Add a review, comment






Other channel videos