Re: Programming first steps.
Wouter Verhelst <firstname.lastname@example.org> wrote:
> I have one grudge against python, though: its mandated indentation looks
> very ugly and unstructured to me. Kinda reminds me of COBOL (and boy, do
> I have nightmares of having to write COBOL code at school)
Well, I often heared about this argument, but in my experience, it
always boiled down to whether the person asserting it had already tried
Python (as opposed to only heared about the usual rumours).
If you think that programs are to be written by humans, the indentation
feature seems to me to be the *obvious choice*, as long you have access
to a decent text editor. Proper indentation with spaces is not at all
sloppy, ambiguous, or whatever you may come with. It just gives
immediate visual, reliable feedback about what the code *means*, in the
case where it defines syntactic blocks.
Sorry, but the more I program in Python, the clearer the impression I
get that all those block delimeters are only intended for people who
don't bother using a real text editor or for programs that generate code
and don't want to go the the hassle of indenting it.