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

"in a language that uses whitespace for logic"

This argument kind of died when python became one of the most popular programming languages used.



It’s not completely that white space is bad, but in particular that white space is very difficult to template relative to something character-delimited like JSON or s expressions.

In JSON or s expressions, the various levels of objects can be built independently because they don’t rely on each other. In YAML, each block depends on its parent to know how far it should be indented, which is a huge pain in the ass when templating.


Python uses whitespace for scoping - not for logic. That said, the same is true for YAML.


Yeah, but Python has actual for loops.




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

Search: