|P is for Practical|
Re: Mandatory indentingby Anonymous Monk
|on Jun 18, 2003 at 00:39 UTC||Need Help??|
Damn, I don't even have to say anything, I'll just quote you:
So you don't even know the most basic points about something, but you dislike it nonetheless? Sorry kid, this doesn't cut it.
Is Python flexible enough?
I have yet to see a situation where required, consistant block indenting causes anything more than the most trivial problems. I've been using it (and about 15 other languages) for years.
I wonder if Python people can hack up something to support curly delimited blocks in Python, without mandatory indenting.
Yes, we could. Very easily in fact, but we don't. Do you know why we don't bother? Consistancy. It's what Python has that Perl does not. It's what makes Python easier to learn than Perl. It's what makes Python easier to parse than Perl. It's what makes Python easier to test than Perl. It's what makes Python easier to maintain than Perl. It's what keeps me from having to worry about hiring programmers that write camel code for actual projects.
Perl has a lot of great features, but it takes providing multiple options too far. A language with less flexibility can be a very good thing.