Being relatively new to programming--think Programming in Objective-C by Kochan, Chapter 15--I'm wondering if there's a reason why it's a bad idea--especially for a new programmer?--to use an NSLog replacement such as the following:
#define MGLog(format, ...) CFShow([NSString stringWithFormat:\
format, ## __VA_ARGS__])
and then call it as follows:
MGLog(@"Yo' mama wears combat boots.");
It's much cleaner to use this for learning how to manage strings, building a rolodex program, like he's got me doing, but I don't want to get into the habit of doing it this way if there are drawbacks. Thanks for any help, guys & gals.
BTW, if it matters, I'm using XCode 4.