An Interview With Guido van Rossum
An anonymous reader submits "The folks over at artima.com have finished posting a 6 part interview with Guido Van Rossum, Python's creator and Benevolent Dictator for Life. The interview covers topics ranging from Python's origins and design goals to increased productivity to runtime typing." (We linked to this series of interviews before as well.)
Well, AFAIK, 2.3 (or maybe 2.2) has finally taken this issue away. EOL conventions donot matter for source code any more.
The folks over at artima.com have finished posting a 6 part interview with Guido Van Rossum, Python's creator and Benevolent Dictator for Life.
I'm trying to remember the last time I saw the words "Guido" and "Benevolent" in the same sentence together...
GMD
watch this
Why on earth make whitespace vital to the compiler? For business reasons I have to edit my programs in Windows but run them on Linux. Editing out all those ^M's is a big pain.
That has nothing to do with significant whitespace - it only occurs at the end of lines, not at the beginning.
Most Linux distros have tools named 'dos2unix' and 'unix2dos' that can do the conversion for you.
I believe posters are recognized by their sig. So I made one.
Running everywhere is good exercise, anyway. Not only can you proactively reengineer core business centers, you can get that ripped look so popular in today's nudist conference rooms.
-- ;-)
Kuro5hin.org: where the good times never end.
Yeah, typing
is a real choreLiberty uber alles.
There's no shortage of editors which will save files properly. If I ever have the misfortune to find myself trying to work on a Windows machine I download vim. Or you could try winpython. I suspect it has the option to save not broken files and it also does neat code completion stuff.
Why make whitespace vital ? Why use braces to mark a block in code ? Why use line numbers ?
You have to have some way of letting the compiler/interpreter know what's inside/outside a for/if/while etc. block. The whitespace thing takes a little getting used to but it follows the indentation rules you probably should be applying to your code anyway in the interests of producing readable and hopefully maintainable code so it shouldn't be too great a hardship.
Now wash your hands.
Alternatively, you can use a decent text editor such as TextPad which lets you save your files in unix format, not to mentions other useful features for coders.
dos2unix is your friend