|
Re: Robot Global Data VI -- organizing separate cluster/data type
There is very little overhead for using a typedef. For debugging purposes, I believe that the files are actually downloaded sometimes, but it is a matter of choice and development habits. There is a small time cost to making typedefs, but as your code evolves, most of those will be smoother if you use a typedef than if you did not.
My own habits are to use typedefs when it is code I intend to keep, but if I'm doing a quick prototype I will not. If that prototype turns out really well and I'm going to keep it, then making the typedefs is an easy step.
Greg McKaskle
|