Zeljko Vrba wrote: > On 2005-12-08, Steven D'Aprano <[EMAIL PROTECTED]> wrote: > >>Making a mistake in indentation level is precisely analogous to leaving >>out markers in other languages. If your editor is smart enough, and the >> > > But look at the following example: > > if a: > some_code1 > if b: > some_code2 > > If I accidentaly delete if b:, then some_code2 gets under the if a: which is > not intended. With braces (or other delimiters): > > if(a) { > some_code1; > } > if(b) { > some_code2; > } > > if I delete if(b) I get a syntax error about unmatched braces. IMO, the > "right" > way to handle braces in C is always to include them, even when they are not > technically obligatory. I code like that for a long time and it has saved me > a lot of headache.
My advice would be to stop using punch cards and start using a sensible text editor. Your use case is somewhat unconvincing in the 21st century. regards Steve -- Steve Holden +44 150 684 7255 +1 800 494 3119 Holden Web LLC www.holdenweb.com PyCon TX 2006 www.python.org/pycon/ -- http://mail.python.org/mailman/listinfo/python-list