Welcher Typ wofür?
| Daten | Typ |
|---|---|
| Anzahl in Mengen | uint32 / int |
| ID‑Werte | UUID (string) oder int64 |
| Geld | Decimal / int (Cent) |
| Datum + Zeit | Timestamp / DateTime |
| Liste, dynamisch | Slice / Vector / List |
| Dictionaries | HashMap / dict |
| Eindeutige Items | Set |
| Kombinierter Datensatz | Struct / Class |
| Optional / nullable | Option/Maybe / null |
| A oder B | Sum Type / Union |
Zurück zu Informatik