Slashdot Log In
Ask Guido van Rossum
Posted by
Roblimo
on Tue Apr 17, 2001 11:00 AM
from the land-of-the-pythons dept.
from the land-of-the-pythons dept.
This week's interview is with Guido van Rossum, a man who, as they say, needs no introduction. (Not around here, at least.) To learn a bit more about him, check his personal page. You might want to ask him about Python 2.1, which was released today. One question per person, please. We'll send 10 of the highest-moderated ones to Guido about 24 hours after this post went up, and will run his answers as soon as he gets them back to us.
This discussion has been archived.
No new comments can be posted.
Ask Guido van Rossum
|
Log In/Create an Account
| Top
| 202 comments
(Spill at 50!) | Index Only
| Search Discussion
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.

Favourite Python sketch? (Score:5)
Alex Bischoff
---
Stackless Python? (Score:4)
Ruby (Score:5)
Conflict with GPL (Score:5)
So, my question is a two parter:
ObJectBridge [sourceforge.net] (GPL'd Java ODMG) needs volunteers.
Python 3000 (Score:5)
Structured Design. (Score:5)
I have been doing C development for 9 years now, and I know a plethora of other languages including shell scripting, perl, PHP (for scripts). Now, each language uses 'normal' grouping for control structures (if, for, etc).
What was the logic behind creating a whitespace-based syntax rule? And why do you feel it is good, please refrain from the readability answer because that is all I get from those people I know who know Python.
I find, because of my background, it is much easier to read code that uses braces ({}) than whitespace because my mind automatically looks for them. After maintaining legacy code that extends a life span of 20 years from it's first line of code, I have some concerns about the longevity of any Python code. So, my second question is, how well do you see Python holding up for 20 years and why do you think it will hold up that long?
Thanks.
GUI? Tkinter? (Score:3)
Any movement away from Tkinter, and toward something else, as the pretty-much-standard programming interface for graphical user interfaces?
Any movement towards a Tk library that *doesn't* use Tcl?
Python IDE (Score:3)
--------------------
Would you like a Python based alternative to PHP/ASP/JSP?
Performance (Score:4)
Re:Structured Design. (Score:5)
I fail to see why there would be any other reason. Furthermore, I fail to see why there should even need to be a better reason. Why do you have whitespace at all? There are only 2 real answers: easy parser writing and human readability.
Python's style makes it easy to see blocks of logic. It also forces you to think about how your code is organized by exposing these blocks to you at all times. Braces, parentheses, brackets, etc. are easy to lose track of in complex single-line statements. You have to spend too much time thinking about whether or not you've got your puncuation matched up properly. Python eliminates this confusion by exposing logical blocks. Besides, properly formatted and readable C code should already be spaced out like a Python program. Python just eliminates the redundant punctuation.
Typically, the people who complain the loudest about enforcing spacing in syntax are the same people who write those tangled, dense, single-line statements in C and Perl that inspired their respected obfuscated code contests. You don't need the ability to cram 5 lines of Python in 1 line of Perl. It just hurts maintainability, and there's really no compelling argument for keeping source code dense and compact anymore if it doesn't add speed and remove bloat. (Forgive me if I have unfairly tarred you with this brush, but this has been my general experience.)
(In response to another post:)
Also, I've never seen a source-control system mess with the spacing of a file before. That's just odd. Be consistent with using either spaces OR tabs and your Python code will be much easier to store. I'm not saying it doesn't happen. I'm just saying that bugs in certain tools that weren't written with Python in mind shouldn't be a black mark against the whole language.
Strangest use of Python (Score:5)
What use of Python have you found that surprised you the most, that gave you the strongest "I can't believe they did that" reaction?
wxPython (Score:3)
[j | c]Python (Score:5)
How do you see the relationship between jPython (the java implementation) and standard cPython (the original C language version) evolving? And do you see the advantages of either one (i.e. portability vs. speed) becoming especially pronounced in light of the recent trend toward distributed software (ala the MS
sean
Why "None"? (Score:3)
I have long wondered why the value None in python is named "None". It's pretty common in other languages to call that thing (or something very similar) "NULL". Were you trying to differentiate None and NULL in some way, or do you just like the way "None" sounds as you read code?
does Python need a CPAN? (Score:5)
Do you see things in a similar way? If so, why has Python not evolved something similar or better, and what can I do to help it along in this realm?
Development of Language Bindings (Score:4)
Thanks.
Data Structures Library (Score:5)
bash-2.04$
Language Specification (Score:3)
Are there any plans to set some kind of standard language specification that will hold for a while?
What is *your* idea of Python and its future? (Score:5)
What's your idea of the future of Python? Since the PEP process, a lot of new feature ideas have been put forward, and a lot of people feel uncomfortable with quick change to a good language (Python 2.1 is again excellent though, congrats). Do you think or hope Python will be finished one day? If not, isn't the alternative an endless string of added features? "Python 3000" was an idea of a sort of ideal Python that would be worked on, but as I understand Python will now evolve more gradually.
Question about the personal side (Score:4)
Yours,
Bob
efficient compilation and standardization (Score:4)