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

i'd say that this is much nicer than both. there is always a better option than an abnormally long line. personally i limit my lines to 120 characters

MyDict

    [family]

    [subfamily]

    [element]

    [property_a]

    [value]


it's very clear indeed, but makes the code much harder to navigate in my opinion, and makes it look more complex than it really is, particularly for absolute beginners. In python, specifically, where indents matter, these line breaks seem very confusing for those starting to learn.


Significant whitespace is a python problem not a whitespace problem.

I am not one of the ones who cry about Make, but many do and for that reason primarily.




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

Search: