Why is forced indentation of the code a bad thing? I mean, are there people who don't indent their code?
Name:
Anonymous2007-09-14 1:09 ID:1HOzbDWi
However, what of Python prevents you from using blank lines, which look even better than brace lines?
You're right, you don't. Only problem is that in production code I've rarely seen it. The Python programmers I've met (although they loved Zope, so who knows!) wouldn't know a code paragraph if it raped them in a back alley repeatedly.
You don't have the forced indentation of code in list comprehensions.
You're right, but that's something I haven't seen a great deal of in practice either.
Honestly I don't know why Python has list comprehensions. Guido doesn't want lambdas, and there's this whole "there's only one way to do it" ethos, but for some utterly random reason there's list comprehensions. List comprehensions are good for parallel programming, but thanks to the GIL that ain't happening any time soon.
If he's gonna stick with the GIL, at least he could have wasted his time on asymmetric coroutines instead of list comprehensions and half-baked generators.