Is PEP-8 a Code or More of a Guideline?
Dave Hansen
iddw at hotmail.com
Wed May 30 20:29:20 EDT 2007
Apologies for jumping into the thread late.
On May 27, 3:25 pm, Roy Smith <r... at panix.com> wrote:
> Ben Finney <bignose+hates-s... at benfinney.id.au> wrote:
> > Is C no longer a "major" language? The long-standing convention there
> > is for lower_case_with_underscores.
>
> Which dates back to the days of ASR-33's which only had one case (upper
The date is about right (actually, a little early: ASR-33, 1965; C,
about 1970), but you can't program C on an ASR-33. Keywords are all
lower case, and always have been. "IF" is a syntax error...
> case, as a matter of fact). Does nobody else remember C compilers which
> accepted \( and \) for { and }?
I don't, but modern conforming compilers are supposed to accept ??< or
<% for { and ??> or %> for }. Makes it awful hard to read, though,
IMHO.
Regards,
-=Dave
P.S. CamelCase sucks. ;-)
More information about the Python-list
mailing list