From: Charles Hixson Date: 2001-03-04T03:05:45+09:00 Subject: [ruby-talk:11942] Re: Option to allow Python style indenting? On Friday 02 March 2001 09:10, you wrote: > "chris" writes: > | By trying this before with Java, I have come to the conclusion that this > | type of feature, if done properly, needs to be written into the actual >... > I've thought about this a little in the past, and I think it might not > be that bad, largely because in Python, every time that the indentation > l... My personal experience is that Python indenting is a real pain. To an extent this is because my preference is to use tabs set to 4 spaces, and many editors have trouble with the concept, so the spacing keeps getting confused. If there are linguistic markers, then recovering from this is trivial. If there aren't, it takes debugging to an entirely new level. Then there's the Python IDE that displays everything properly, but doesn't print tabs at the beginning of a line. That makes figuring out the code a real joy, even when the code is still executing properly (though, of course, the most frequent time when one needs to do this is during debugging). And if the parser decides that your code doesn't mean what you think it means (I'm still learning Python) there isn't always any obvious sign, though some IDEs have style guides, which tell you how far in they think the current level of indentation should be. But these tend to disagree with the intuitive sense following, e.g., lines of comment (which I prefer to indent to the level of the code to which they apply, and which usually follow them).