Click here to Skip to main content
15,908,841 members
Home / Discussions / Article Writing
   

Article Writing

 
GeneralRe: jpeg to bmp conversion and vice versa Pin
26-Dec-00 3:26
suss26-Dec-00 3:26 
GeneralRe: jpeg to bmp conversion and vice versa Pin
Chris Losinger29-Dec-00 6:03
professionalChris Losinger29-Dec-00 6:03 
Generalparam edit Pin
24-Dec-00 2:15
suss24-Dec-00 2:15 
Generalweb spider script wanted Pin
21-Dec-00 6:26
suss21-Dec-00 6:26 
QuestionHow does a good coder... code? Pin
20-Dec-00 12:08
suss20-Dec-00 12:08 
AnswerRe: How does a good coder... code? Pin
Igor Proskuriakov21-Dec-00 3:09
Igor Proskuriakov21-Dec-00 3:09 
AnswerRe: How does a good coder... code? Pin
Jim Howard21-Dec-00 4:05
Jim Howard21-Dec-00 4:05 
AnswerRe: How does a good coder... code? Pin
Erik Funkenbusch26-Dec-00 9:23
Erik Funkenbusch26-Dec-00 9:23 
Writing good code is more art than science in many ways.

There are no silver bullets. Everyone's style is different, and everyone works best in different ways. The trick to writing good code is to be consistent in whatever methods you choose, and always follow them.

Having said that, I'll third the recomendations for the MS Press books "Code Complete" and "Writing Solid Code", however I should also point out that these books are getting rather long on the tooth and are showing their age. Don't take them as gospel, but rather as advice. If the advice works for you, use it. If it doesn't, don't.

Also, these books are big on a few techniques which many find of questionable use. Hungarian notation is almost universally hated by people with lots of experience (although a few things such as m_ seem to still be popular, even among people that normally hate hungarian notation). Also, at least one of those books recommends placing constants first in equality tests (ie: if (10 == variable) since this will generate an error if you only use one = instead of 2. I don't agree with this practice, since it makes the logic much harder to read. Instead, I recommend devloping a near manic compulsive double-checking of your code everytime you type the = character. It's more error prone in development, but it doesn't screw up everyone that has to read your code for the rest of it's life.

Another book i'd recommend is "The Pragmatic Programmer" by Andrew Hunt and David Thomas (Addison-Wesley press). This book is a little more about process and management, but it includes some good gems of programming advice.
AnswerRe: How does a good coder... code? Pin
17-Jan-01 10:08
suss17-Jan-01 10:08 
GeneralWindow DLL to detect wm_message of an active window Pin
16-Dec-00 22:34
suss16-Dec-00 22:34 
GeneralResizing a dialog Pin
TSI15-Dec-00 19:02
TSI15-Dec-00 19:02 
GeneralRe: Resizing a dialog Pin
Michael Dunn15-Dec-00 19:08
sitebuilderMichael Dunn15-Dec-00 19:08 
GeneralRe: Resizing a dialog Pin
TSI16-Dec-00 8:14
TSI16-Dec-00 8:14 
GeneralGetting file info runtime Pin
14-Dec-00 2:30
suss14-Dec-00 2:30 
GeneralCustom font app Pin
Amit Dey12-Dec-00 10:32
Amit Dey12-Dec-00 10:32 
GeneralWeb folder view in WinExplorer Pin
8-Dec-00 3:37
suss8-Dec-00 3:37 
QuestionHow to change a console window's font? Pin
8-Dec-00 3:04
suss8-Dec-00 3:04 
Generalnews: protocol Pin
Sasa Kajic7-Dec-00 0:48
Sasa Kajic7-Dec-00 0:48 
GeneralRe: news: protocol Pin
Bjornar Henden7-Dec-00 1:32
Bjornar Henden7-Dec-00 1:32 
GeneralRe: news: protocol Pin
SAWilde7-Dec-00 22:46
SAWilde7-Dec-00 22:46 
GeneralRe: news: protocol Pin
Sasa Kajic8-Dec-00 2:59
Sasa Kajic8-Dec-00 2:59 
Generalnews: protocol Pin
Sasa Kajic7-Dec-00 0:47
Sasa Kajic7-Dec-00 0:47 
GeneralSending msg to Pager thru ASP Pin
6-Dec-00 4:26
suss6-Dec-00 4:26 
GeneralRe: Sending msg to Pager thru ASP Pin
SAWilde7-Dec-00 22:53
SAWilde7-Dec-00 22:53 
GeneralClipping Region of Child Window Controls Pin
Brian Rosenthal29-Nov-00 9:48
Brian Rosenthal29-Nov-00 9:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.