Style Guides

A question came up at work: I had rewritten a bunch of code and the fellow I’m working with was unfamiliar with my programming style guide. (Why are all your structure fields starting with lower-case ‘f’? And why do globals start with ‘g’?) His programming style came from the Windows Hungarian Notation world, so it’s not like this was a really dumb question. (Why are all of your fields named like their floating point numbers?)

But I cut my eye-teeth on C++ way back in 1990–and the programming style I adopted way back then came from Apple’s unofficial C++ style guide.

After 17 years bad habits are hard to break. 🙂

Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s