I generally keep my source files flatter in the file system than I do in Xcode github.com/NYTimes/object
Conversation
@captainroundeye ooh, this should be an interesting read.
2
it's actually quite good. I would say if you are following these directions, you are generally doing the right things.
1
@captainroundeye Sounds good. I’ve been under the thumb of the Google Obj-C guide the last three months so this will be interesting
2
yeah, I opened up all the links to read the rest. I learned most of my style through my own discovery and my coworkers.
1
@captainroundeye Hmm. Google's style:
// Gets and sets |_bar|.
- (NSString *)bar;
- (void)setBar:(NSString *)bar;
No shit sherlock.
3
@captainroundeye I’ve been in a knife fight over commenting where the code is simple, clean, and self-explanatory.
1
1
Replying to
@captainroundeye Code from when I was 12 and commented everything (“best practices!”):
i++; // increments the index into the array
Replying to
see, I did the exact opposite. You never knew what the hell I was thinking. Not sure which is worse...
1
2


