Title: Data classes
Open Graph Title: Python data classes
Description: The primary role of a Python data class is to simply hold the values that were passed as constructor arguments. This feature strongly resembles Haskell datatypes, particularly when we use Haskell’s record syntax.
Open Graph Description: Python’s dataclass feature strongly resembles Haskell record types.
X: @typeclasses
Domain: typeclasses.com
| theme-color | #31365f |
| og:image | https://static.typeclasses.com/twitter-python__data-classes-f479843f7a.png |
| og:type | article |
| article:tag | syntax |
| twitter:card | summary_large_image |
Links:
Viewport: width=device-width, initial-scale=1