Click here to Skip to main content
15,898,984 members
Home / Discussions / C#
   

C#

 
QuestionHow can artificial intelligence response? Pin
nEar_mO22-Apr-10 14:35
nEar_mO22-Apr-10 14:35 
AnswerRe: How can artificial intelligence response? Pin
Luc Pattyn22-Apr-10 15:20
sitebuilderLuc Pattyn22-Apr-10 15:20 
AnswerRe: How can artificial intelligence response? Pin
PIEBALDconsult22-Apr-10 16:27
mvePIEBALDconsult22-Apr-10 16:27 
GeneralRe: How can artificial intelligence response? Pin
Abhinav S22-Apr-10 16:32
Abhinav S22-Apr-10 16:32 
GeneralRe: How can artificial intelligence response? Pin
PIEBALDconsult22-Apr-10 17:05
mvePIEBALDconsult22-Apr-10 17:05 
GeneralRe: How can artificial intelligence response? Pin
OriginalGriff22-Apr-10 21:34
mveOriginalGriff22-Apr-10 21:34 
AnswerRe: How can artificial intelligence response? Pin
Stephen Hewitt22-Apr-10 22:14
Stephen Hewitt22-Apr-10 22:14 
AnswerRe: How can artificial intelligence response? Pin
Pete O'Hanlon22-Apr-10 23:11
mvePete O'Hanlon22-Apr-10 23:11 
GeneralRe: How can artificial intelligence response? Pin
Luc Pattyn22-Apr-10 23:52
sitebuilderLuc Pattyn22-Apr-10 23:52 
AnswerRe: How can artificial intelligence response? Pin
riced23-Apr-10 2:43
riced23-Apr-10 2:43 
QuestionFlight Inquiry Application Pin
Jassim Rahma22-Apr-10 13:28
Jassim Rahma22-Apr-10 13:28 
AnswerRe: Flight Inquiry Application Pin
Lokesh Lal22-Apr-10 17:46
Lokesh Lal22-Apr-10 17:46 
QuestionPlay Video from Csharp Pin
Obaid Ahmed22-Apr-10 11:36
Obaid Ahmed22-Apr-10 11:36 
AnswerRe: Play Video from Csharp Pin
William Winner22-Apr-10 12:20
William Winner22-Apr-10 12:20 
GeneralRe: Play Video from Csharp Pin
Obaid Ahmed22-Apr-10 22:48
Obaid Ahmed22-Apr-10 22:48 
AnswerRe: Play Video from Csharp Pin
Peace ON22-Apr-10 21:22
Peace ON22-Apr-10 21:22 
QuestionExam preparation Pin
netJP12L22-Apr-10 11:03
netJP12L22-Apr-10 11:03 
AnswerRe: Exam preparation Pin
AspDotNetDev22-Apr-10 11:12
protectorAspDotNetDev22-Apr-10 11:12 
AnswerRe: Exam preparation Pin
William Winner22-Apr-10 12:23
William Winner22-Apr-10 12:23 
AnswerRe: Exam preparation Pin
PIEBALDconsult22-Apr-10 13:05
mvePIEBALDconsult22-Apr-10 13:05 
AnswerRe: Exam preparation Pin
yu-jian22-Apr-10 15:42
yu-jian22-Apr-10 15:42 
GeneralRe: Exam preparation Pin
Peace ON22-Apr-10 22:09
Peace ON22-Apr-10 22:09 
AnswerRe: Exam preparation Pin
Peace ON22-Apr-10 22:07
Peace ON22-Apr-10 22:07 
GeneralRe: Exam preparation Pin
netJP12L23-Apr-10 4:43
netJP12L23-Apr-10 4:43 
Questioncomments? Pin
Megidolaon22-Apr-10 10:46
Megidolaon22-Apr-10 10:46 
What kind of comments do you add and when?
I'm sometimes wondering if my commenting is sufficient and other times if it's redundant.

For example when I use the same command several times, or when having a loop that only consists of like 3 short commands in total, I feel like I should add a comment, but when I do I feel like it's redundant.

I think a comment is redundant if you can easily grasp the purpose of a section of code in 5 seconds or less. If it gets large, comments should only be used for categorizing/grouping.

What do you think?

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.