On 07/06/2011 09:05 AM, Daniel Juyung Seo wrote:
> Well, that was not my point.
> I was asking using comments like
> /////////////////////////////////////// is ok in e world.

It's redundant and distracting.

////////////////////////////////////////////////
//////////////// variables /////////////////////
////////////////////////////////////////////////

//////// g_my_value declaration ////////////////
int g_my_value;

////////////////////////////////////////////////
//////////////// functions /////////////////////
////////////////////////////////////////////////

//////// the_function declaration //////////////
void the_function(void)
{
    // set the variable to one
    g_my_value = 1
}

////////////////////////////////////////////////
// Coding standard requires useless 3 comments
// per line of code...
// Coding standard requires stating the obvious.
////////////////////////////////////////////////

In programming, redundancy should be avoided.

thanks,

Mike

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to