---
title: "Discussion on \"How to understand Scala variances by building restaurants\" | Hashnode"
description: "Discussion on \"How to understand Scala variances by building restaurants\". By Luca Florio\nI understand that type variance is not fundamental to writing Scala code. It's been more or less a year since I've been using Scala for my day-to-day job, and honestly, I've never had to worry much about it. \nHowever, I think it is an ..."
url: "https://hashnode.com/posts/understand-scala-variances-building-restaurants/66d45e4e052ad259f07e4ab3"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to understand Scala variances by building restaurants](https://freecodecamp.org/news/understand-scala-variances-building-restaurants?utm_source=hashnode&utm_medium=feed)

By Luca Florio I understand that type variance is not fundamental to writing Scala code. It's been more or less a year since I've been using Scala for my day-to-day job, and honestly, I've never had to worry much about it. However, I think it is an ...

Jul 24, 2019 · 7 min read · freecodecamp.org  
Read the article

-   [#covariant](https://hashnode.com/tag/covariant)
-   [#contravariant](https://hashnode.com/tag/contravariant)
-   [#invariant](https://hashnode.com/tag/invariant)
-   [#programming](https://hashnode.com/tag/programming)
-   [#scala](https://hashnode.com/tag/scala)
-   [#variance](https://hashnode.com/tag/variance)

## Written by

[freeCodeCamp](https://hashnode.com/@freeCodeCamp)

@freeCodeCamp · Just here on Earth... for now

  
[View profile](https://hashnode.com/@freeCodeCamp)

Learn to code. Build projects. Earn certifications—All for free.

Learn to code. Build projects. Earn certifications—All for free.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
