Re:New C features in GCC 13
by grumpyprole on Friday May 05, 2023 @01:45AM
(#35825616)
This is where tooling can help.
An IDE could display the type next to all auto symbols if you want. Or allow you to query it with a keyboard shortcut. This gives the best of both worlds, rather than forcing everyone to write out the types all the time. Sometimes we simply don't care what the exact type is, e.g. if it's an object created and consumed by an API. We still want it type-checked, but we don't want to be forced to write out the type.
[ Parent
| on HN ]
There are no comments on this comment yet.