---
title: "Discussion on \"Union/Sum Type\" | Hashnode"
description: "Discussion on \"Union/Sum Type\". Union/Sum Types are very useful when we want to represent different classes that represent variations of a single thing holding different data points."
url: "https://hashnode.com/posts/unionsum-type/6728d7549195def3ea7c3b61"
---

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

Discussion

# [Union/Sum Type](https://hashnode.king-11.dev/unionsum-type?utm_source=hashnode&utm_medium=feed)

Union/Sum Types are very useful when we want to represent different classes that represent variations of a single thing holding different data points.

Jan 19, 2024 · 7 min read · hashnode.king-11.dev  
Read the article

-   [#csharp](https://hashnode.com/tag/csharp)
-   [#java](https://hashnode.com/tag/java)
-   [#kotlin](https://hashnode.com/tag/kotlin)
-   [#programming-languages](https://hashnode.com/tag/programming-languages)
-   [#rust](https://hashnode.com/tag/rust)

## Written by

[Lakshya Singh](https://hashnode.com/@king-11)

@king-11 · Jaipur, India

  
[View profile](https://hashnode.com/@king-11)

My Reactive Vue Flutters

I was introduced to the world of programming and software development in my first year. Since then, I have been very enthusiastic about deep diving into various fields of Computer Science. The areas that capture my interests are Operating Systems, Compilers, Distributed Systems, Databases, Big Data, Bitcoin, Data Structures and Algorithms. Open Source is . I am an avid open source contributor. I try to contribute to open source projects that I use and find interesting at times in any capacity possible. You can find my contributions on my Github/Gitlab Profile. I started my journey with good first's maybe you can too :)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
