Everything,
Comment liberally or not? Pros and cons. I personally prefer to comment, because it leaves nothing for the fantasies of people reading it.
thanks
Jeff Atwood: No Comment Coding
In my experience, people who think their code is commenting is invariably wrong. You may remember why you did something in a certain way when you revise the code, but someone else who supports it will not.
If you need to do some research to write a piece of code, include a link or a note.
- , , , - .
, , ,
" ". , , , , , .
, , , , , , , , , . , , , , , .
, (a) (b) , , .
, , , .
, , .
, .
, :
:
, , , , , .
, - , , , , .
, , , . , , .
, , . , , . , , . , - .
.
//Copies a record //This function will copy the Src Record to the Dest Record void CopyRecord(Record *Dest,const Record *Src);
, - c ,
// //This function will perform a shallow copy from the src record to the dest record //Dest pointer must be null and allocation will occur inside function void CopyRecord(Record *Dest,const Record *Src);
, . , , .
, O'Reilly 97 , (. Coders at Work).
,
, , , , , . , , . .
, , . , , , .
, CS , , , . " " , , , , .
, , . , . script, , , .
-, , . , . , . on-line, .
-, . , , , , , , . ( , , , , , .)
-, , , . , , - . , , , ( ), . , , .
, , . , , , . , .
: "". , / , , , . , , , .
( , ), , , . .: -)
, , . ( . , ?) , , "" (, , , ..)
Source: https://habr.com/ru/post/1721341/More articles:Как проверить, существует ли изображение в http://someurl/myimage.jpg в С#/ASP.NET? - httphttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1721337/repository-pattern-with-a-legacy-database-and-linq-to-sql&usg=ALkJrhhaYSTm4Zt7qAhoKM_bP-YbERcBuQWPF - DataTemplate without a container, elements as rows in a grid? - .netUnderstanding factorial function in python - pythonC # or Python for my application - pythonHow to see stacktrace .NET application - debuggingHow to verify that a file is a password protected ZIP file using C # - c #Asp.net session expires earlier - vb.nethttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1721345/are-there-any-modifications-to-the-jquery-ui-datepicker-which-adds-time-selection&usg=ALkJrhgNcVXmI5CsKEUpTcZXWQAREjcx8AProperly formatting the perl switch in emacs - perlAll Articles