This Doesn't Make Sense - Scala Variables | Rock the JVM

preview_player
Показать описание

This video is for:
- Scala programmers who are confused about why we discourage variables
- Scala teachers and instructors who need to manage the confusion in their classes

Follow Rock the JVM on:

-------------------------------------------------------------------------
-------------------------------------------------------------------------
Рекомендации по теме
Комментарии
Автор

Hey Daniel! Amazing video, but can you share when variables are useful? I had a bad experience usig vals with a collection of pojos and after switching my pojo to vars I gained a little bit of performance. But I'm still not sure if it was right. Thanks!

DanielLopez-etvc
Автор

Hi Daniel,
Please help us understand what sequence to follow the videos on youtube?

pankajshet
Автор

Great Video Daniel, I was thinking why Scala people just remove the while loop from language itself

Is there any use case for which they support it?

atech_guide
Автор

If not use variable, how I can update fields that their values are regularly changed?

class SaunaRoom {
var temperature: Double = 0.0
}

mourikogoro
visit shbcf.ru