---
title: "Discussion on \"Why You Should Use Structs to Model Data and Logic in Swift\" | Hashnode"
description: "Discussion on \"Why You Should Use Structs to Model Data and Logic in Swift\". Photo by Marcello Gennari on Unsplash\nSwift is a powerful and expressive programming language that offers many features to make your code more readable, maintainable, and performant. One of these features is structs, which are custom data types that ..."
url: "https://hashnode.com/posts/why-you-should-use-structs-to-model-data-and-logic-in-swift/643d5d8dfbd40b32836c75d0"
---

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

Discussion

# [Why You Should Use Structs to Model Data and Logic in Swift](https://csdiaries.hashnode.dev/why-you-should-use-structs-to-model-data-and-logic-in-swift?utm_source=hashnode&utm_medium=feed)

Photo by Marcello Gennari on Unsplash Swift is a powerful and expressive programming language that offers many features to make your code more readable, maintainable, and performant. One of these features is structs, which are custom data types that ...

Apr 17, 2023 · 9 min read · csdiaries.hashnode.dev  
Read the article

-   [#swift](https://hashnode.com/tag/swift)
-   [#swiftui](https://hashnode.com/tag/swiftui)
-   [#struct](https://hashnode.com/tag/struct)
-   [#ios](https://hashnode.com/tag/ios)
-   [#mobile-development](https://hashnode.com/tag/mobile-development)

## Written by

[CS Diaries](https://hashnode.com/@CSDiaries)

@CSDiaries

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
