Click here to Skip to main content
15,899,935 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: Would like your advice about... Pin
Eddy Vluggen30-Sep-11 6:29
professionalEddy Vluggen30-Sep-11 6:29 
GeneralRe: Would like your advice about... Pin
Not Active30-Sep-11 10:09
mentorNot Active30-Sep-11 10:09 
AnswerRe: Would like your advice about... Pin
Eddy Vluggen30-Sep-11 10:48
professionalEddy Vluggen30-Sep-11 10:48 
GeneralRe: Would like your advice about... Pin
Not Active30-Sep-11 12:00
mentorNot Active30-Sep-11 12:00 
GeneralRe: Would like your advice about... Pin
Eddy Vluggen30-Sep-11 21:01
professionalEddy Vluggen30-Sep-11 21:01 
AnswerRe: Would like your advice about... Pin
Abhinav S30-Sep-11 18:20
Abhinav S30-Sep-11 18:20 
GeneralRe: Would like your advice about... Pin
Richard MacCutchan30-Sep-11 21:28
mveRichard MacCutchan30-Sep-11 21:28 
AnswerRe: Would like your advice about... Pin
jschell1-Oct-11 10:32
jschell1-Oct-11 10:32 
Clark Kent123 wrote:
My question to all of you is what type of style of commenting does your work place enforce or what is your favorite style of commenting that you came up with?


Comments on classes and methods should document what they do and not how they do it.

Additionally comments about specific business requirements might be appropriate as well sometimes. But this is only rarely needed.

If there is complex or obscure code in the class/method then additional comments might be added in specific places. Rarely it might be appropriate to put this in the class/method header but more often it should be in the class/method itself. It might be more appropriate in a header for an object that is not specifically a business object (for example a comm layer might document some oddity about socket behavior in a header.)

One should NOT document 'changes'. You should have a source control system and be using it. It is far more capable of tracking exactly what changed and should also be used to track reasons as well.
QuestionUpdate Data into Database with DataAdapter Pin
Naunt26-Sep-11 18:49
Naunt26-Sep-11 18:49 
AnswerRe: Update Data into Database with DataAdapter Pin
RichardGrimmer29-Sep-11 6:18
RichardGrimmer29-Sep-11 6:18 
QuestionHow To Open and Use VSTO word document in Winform? Pin
Hamid Noahdi25-Sep-11 20:08
Hamid Noahdi25-Sep-11 20:08 
AnswerCross post Pin
Pete O'Hanlon25-Sep-11 20:41
mvePete O'Hanlon25-Sep-11 20:41 
QuestionHow can we restrict a user from changing the download path url's fine name. Pin
Member 825992122-Sep-11 11:22
Member 825992122-Sep-11 11:22 
AnswerRe: How can we restrict a user from changing the download path url's fine name. Pin
TheGreatAndPowerfulOz22-Sep-11 12:32
TheGreatAndPowerfulOz22-Sep-11 12:32 
AnswerRe: How can we restrict a user from changing the download path url's fine name. Pin
Dalek Dave25-Sep-11 21:37
professionalDalek Dave25-Sep-11 21:37 
QuestionVisual Studio 2010, C# WinForms project and best practices/approach for database-related features Pin
coder3273221-Sep-11 7:23
coder3273221-Sep-11 7:23 
AnswerRe: Visual Studio 2010, C# WinForms project and best practices/approach for database-related features Pin
RobCroll24-Sep-11 11:13
RobCroll24-Sep-11 11:13 
QuestionRestful Service Pin
harinit20-Sep-11 21:37
harinit20-Sep-11 21:37 
AnswerRe: Restful Service Pin
Pete O'Hanlon21-Sep-11 1:58
mvePete O'Hanlon21-Sep-11 1:58 
GeneralRe: Restful Service Pin
harinit21-Sep-11 3:54
harinit21-Sep-11 3:54 
GeneralRe: Restful Service Pin
Pete O'Hanlon21-Sep-11 4:25
mvePete O'Hanlon21-Sep-11 4:25 
GeneralRe: Restful Service Pin
harinit21-Sep-11 4:36
harinit21-Sep-11 4:36 
GeneralRe: Restful Service Pin
Pete O'Hanlon21-Sep-11 4:40
mvePete O'Hanlon21-Sep-11 4:40 
GeneralRe: Restful Service Pin
jschell21-Sep-11 14:26
jschell21-Sep-11 14:26 
QuestionSimple Visual Studio 2010 Question Pin
KFC19720-Sep-11 8:11
KFC19720-Sep-11 8:11 

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.