
On 9 January 2017 at 12:25, Simon Lovell <simon58500@bigpond.com> wrote:
Python Reviewed
The Good : ... The Bad: ...
I agree with many points, but:
No end required for if/while/for blocks. .. Makes the code less readable
Nope, it makes code significantly better readable. I'm sort of past master in such questions so there is very little chance of BSing me. In some cases I'd want some space after the block, so probably future IDEs will allow placing small vertical indents to help with that.
No do-while construct
I don't think it is needed much, I never came up with thoughts that I want it. If I'd design a syntax from scratch, there would be only infinite loop and break.
Conditional expression in Python is less intuitive than in C
Probably, but conditional expressions are IMO not needed and I'd remove them just not to pollute the syntax. Mikhail