Looks like you beat me to the punch on my last email... On Jun 8, 2011, at 9:39 PM, BGB wrote: > > > apparently, some people don't like using typedef for some reason I am not > entirely sure of...
According to wikipedia (http://en.wikipedia.org/wiki/Struct_(C_programming_language) ), one of the main objections is namespace-pollution: /* Example for namespace clash */ typedef struct account { float balance; } account; struct account account; /* possible */ account account; /* error */ ... hence the idiom of appending _t to the typedeffed name, I guess. Cheers, Josh > > > but, anyways, I personally like vtables and function-pointers in C, as they > are a very powerful and useful feature. > > however, my own languages tend to use a less awkward syntax. > > > _______________________________________________ > fonc mailing list > fonc@vpri.org > http://vpri.org/mailman/listinfo/fonc
_______________________________________________ fonc mailing list fonc@vpri.org http://vpri.org/mailman/listinfo/fonc