Re: Comma at end of enum lists

From: Jan Engelhardt
Date: Sat Mar 29 2008 - 13:43:17 EST



On Saturday 2008-03-29 18:28, H. Peter Anvin wrote:

Note that doing that makes sense only when you can expect additions to
the end and even then it's a matter of taste.

Yes, it is.

I personally prefer it this way (strongly) for exactly the same
reason C requires a semicolon at the end of each statement, as
opposed to Pascal which doesn't require a semicolon immediately
before an "end".

...as opposed to Perl which does not strictly require a ; at the
end of a block. :>

# while (1) { print 1; print 2 }
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/