Skip to content
0:00 / 0:00

#valvsdef#functions

Ch01 Ep01: Val vs Def functions in Scala

fp-tower

1.3K subscribers • 4 videos on Hallway

YouTube
  • Recommended by 1 person: 1 in engineering communities.
  • Presented by Julien Truffaut, creator of fp-tower

Beginner. No background in the topic needed.

7K views6 years ago1 recommendation

Programming languagesScalaFunctional programming

Julien Truffaut explains the fundamental differences between val and def functions in Scala and how they evaluate.

Full course available at fp-tower.com/courses/foundations Functions are the centrepiece of functional programming. We need to have a strong understanding of how they work in Scala before we can move on to more powerful concepts. So, today we're going to focus on the difference between `Val` and `Def` functions. /* ----- SUBTITLES ----- */ I would like to thank the translators for their fantastic work: • French thanks to Xavier Van de Woestyne • Italian thanks to Francesco Serra • Japanese thanks to Yoshimasa Tanabe and Atsumine Kondo • Russian thanks to Nikita Shestakov and Anton Parkhomenko • Spanish thanks to Alejandro Marin /* ----- SOCIAL MEDIA ----- */ Follow Me On Social Media At: twitter.com/JulienTruffaut linkedin.com/in/julientruffaut/ patreon.com/julien_truffaut Video produced by Future Sun futuresunfilms.com/ #Scala #functionalprogramming

Why it's here

1 person recommends this

What people say. Recommended as a clear and concise explanation of val versus def for Scala beginners.

u/julien-truffautin r/scala • Recommends

Val vs Def functions in Scala