Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Style

Status
Not open for further replies.

tokra

Technical User
Feb 20, 2003
45
GB
I taught myself c++. I know most of the language. I don't know any API's of substenace. What are some of the resources worth spending time on to improve. I have Soustrop's book and Meyers book. Meyers book is an exellent read, but I also need a resource that goes over the basics like: global variables are bad, long complicated functions are bad etc. Specifically I'd like examples of good and bad style, best practices and scenarios when they can be ignored. I'd like to go beyond just knowing the language and beeing able to use it to knowing how to use it well and not have nightmares about the day when a real programmer will have to look at my source.

WR
 
In addition to books & looking at other people's code, I strongly recommend going back over your own code a year later. Does it still make sense? Do you remember what that variable does? What that line is supposed to do? My own frustration at my own bad style is a big drive towards making things clearer...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top