Skip to main content
added 704 characters in body
Source Link

But surely leaving my name and or email would mean i was supposed to write comments in my code?? Sorry was not an answer. In reality i usually leave doctype comments ...

/**
* @author PurplePilot
* @package
* @etc
*/

with my name but not email address. Yes this code can get cut and pasted but if the copier does not change the author name they won't change anything else and it becomes obvious it is an unmaintained comment.

I have an email sig i use from time to time which goes

/* Anything you put in comments is not tested and easily goes out of date. */

which seems to be a general reflection of many of the other posts in this thread. However as there are not rules on the subject a programmer needs to do what they feel the most comfortable with.

But surely leaving my name and or email would mean i was supposed to write comments in my code??

But surely leaving my name and or email would mean i was supposed to write comments in my code?? Sorry was not an answer. In reality i usually leave doctype comments ...

/**
* @author PurplePilot
* @package
* @etc
*/

with my name but not email address. Yes this code can get cut and pasted but if the copier does not change the author name they won't change anything else and it becomes obvious it is an unmaintained comment.

I have an email sig i use from time to time which goes

/* Anything you put in comments is not tested and easily goes out of date. */

which seems to be a general reflection of many of the other posts in this thread. However as there are not rules on the subject a programmer needs to do what they feel the most comfortable with.

Source Link

But surely leaving my name and or email would mean i was supposed to write comments in my code??