View Single Post
  #4   Spotlight this post!  
Unread 10-01-2012, 15:39
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,751
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
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
Reply With Quote