2
submitted 11 months ago by azthec@feddit.nl to c/scala@programming.dev
you are viewing a single comment's thread
view the rest of the comments
[-] azthec@feddit.nl 1 points 10 months ago

For sure, this has been something I learned from working in Scala that has made my code in other projects much more readable and easier to reason about. For performance reasons I may need to use mutables, but often I can keep it in the context of the function and just encapsulate it.

this post was submitted on 30 Sep 2023
2 points (100.0% liked)

Scala

329 readers
1 users here now

founded 1 year ago
MODERATORS