|
|
|
|
|
by hualaka
381 days ago
|
|
? Commonly used for nullable types. The tup is an interesting question. I often think about tup(int, bool, string) vs (int, bool, string). I convince myself that there might be a better choice. `var t = (1 as i8, true, false)` Use automatic inference to replace active type declarations. t.0 vs t[0] is equally difficult to choose, but t[0] is the more commonly used syntax. Using t[n] consistently across map/vec/set/tup might be the more correct decision. |
|