Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

'and the only way it makes code better to read is by forced formatting (the forced white space)'

Indentation is required when writing in any language as a matter of courtesy. Python just doesn't ask you to delimit your blocks of code a second time by unnecessarily requiring brackets.



at the high cost of crippled one line lambdas, no thanks


I'd argue that there is nothing crippling about it. You can define functions anywhere, if you need a multi-line lambda just define a function and be done with it. Multi-line lambdas are messy... this constraint keeps your code sane.

You can nitpick all you want, but the fact is I can start reading just about anyone's python code and feel like it's my own because styles are consistent across the board. A lot of this has to do with the tight community, but the fact that it's all reinforced through syntax constraints is a huge plus.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: