Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.swapon.de!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Marko Rauhamaa Newsgroups: comp.lang.python Subject: Re: PEP 8 : Maximum line Length : Date: Thu, 15 May 2014 17:36:10 +0300 Organization: A noiseless patient Spider Lines: 38 Message-ID: <87tx8r9kit.fsf@elektro.pacujo.net> References: <5373f400$0$24922$e4fe514c@dreader36.news.xs4all.nl> <600f69c8-541f-4fae-a3db-4da33b776046@googlegroups.com> <87a9ajb36d.fsf@elektro.pacujo.net> <78ac407a-c429-4a7a-93c9-5d83e0f09cbb@googlegroups.com> <8761l7b05y.fsf@elektro.pacujo.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: mx05.eternal-september.org; posting-host="ff5cf27ef3d5b31f034d3b72bdc27a41"; logging-data="18975"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+dTxLvKT12yryVkXMPd8Ys" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) Cancel-Lock: sha1:RqDO5C5nwTqVpyU+sAVD1E6Hi8w= sha1:o5+dPhselpoMrhX4tAkfDQyMKXM= Xref: csiph.com comp.lang.python:71614 Chris Angelico : > I believe the Python interpreter happily accepts a zip file, which in > theory could be edited directly by a competent text editor. But that > has nothing to do with PEP 8. Compare a classic compiled language like > C - you have the bit you edit (the C source code) and the "definitive > version" that's fed to the program loader (the compiled binary). Style > guides apply to the edited version, not to the executed version. My point applies to C as well. Shouldn't the .c file contain an AST? Only when you open the file in your text editor, it makes it look like you wrote it yourself in your favorite style? You and I could have opened the same C file. Only you see: #include int +--------------------+ main ( int argc, | My first C program | char *const argv[] ) +--------------------+ { (void) printf( "Hello world\n" ); return(0); } while I see: #include /* My first C program */ int main(int argc, char *const argv[]) { printf("Hello world\n"); return 0; } Marko