As you need to provide a string that is known at compile-time there are little benefits of `a["f"]` over `a.f`. If you need to iterate over every field, use `fieldPairs`, if you need more flexibility, you probably come from a dynamic language and you need to rethink your design.
- Setting object value by providing key as string? trisub
- Setting object value by providing key as string? Araq