Re: Comma at end of enum lists

Jan Engelhardt
2008-03-29T17:43:00Z

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 }