3 ms·
Typedefs are useful only if you use functions for all operations on the data type. Otherwise, if you actually use the variable directly, you are requiring the
by casenmgreen 2y ago
Typedefs are useful only if you use functions for all operations on the data type.
Otherwise, if you actually use the variable directly, you are requiring the user to remember the underlying type of the typedef.
Larger program, hundred plus typedefs, unbearable burden on reader.