01.Blogs :
travisowens  

A better way to code?

A better way to code?

I was talking to a coding friend of mine that has done C/C++ for years and was actually a guy on ISS's X-Force team.  He was telling me that at an interview he had at Microsoft once, the coder that was interviewing him said that instead of planning out his app and writing the code one method at a time, he would plan it out and then document all the methods.

I realized this was an interesting idea because if I write out the comments for each method and the bare minumim (ex: public static void myMethod() {} ) then I could look at the overall program and get a better idea on logic issues, architecture, structure, and what to abstract further before writing any code.

So I'm going to give this method a try (on a current product in it's early stages) and see how it works out.  I'll comment on the method in a couple days on here and see if it improves my coding.

posted on Tuesday, May 18, 2004 1:59 PM by travisowens

# @ Tuesday, May 18, 2004 8:36 PM

I like to do that too, because if you do that and use XML comments in .NET, then you can generate documentation that describes the entire system and method signatures so another programmer can then get up to speed on the project quickly. (I do a lot of pair programming work.) Also, by doing this, you can use Visio to generate a nice UML view of your project as you go along to furthur help you visualize what is going on in the code before you commit to writing the bulk of the system and having to move it around later on.

AdamMB


 
03.UPDATE CALENDAR :
<May 2004>
SunMonTueWedThuFriSat
2526272829301
2345678
9101112131415
16171819202122
23242526272829
303112345

05.MY LINKS :

07.Subscriptions :

Subscriptions


© Copyright 2005 Microsoft Corporation. All Rights Reserved.
Terms of Use | Privacy Statement | Code of Conduct | Hosted by MaximumASP for Microsoft
WHO-BAR