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

> Don’t get me wrong, it’s not like YAML is absolutely terrible – it’s certainly not as problematic as using JSON – but it’s not exactly great either.

Well at least it's the least worst then, do that make it the best?

Frankly I hope the future will be make with indented languages. Curly braces languages often allows too much liberty, and it's annoying. The fact that go enforce the curly brace style is really the tipping point of curly brace languages.

Granted there need to be some good compromise for ambiguous details when parsing an indented syntax, but readability matters much more than anything to me.



I like the "Ruby approach" of:

    if foo
        ...
    else 
        ...
    end
It solves some of the issues that you can have with Python, while at the same time also avoiding the whole nonsense with the braces. I find it's a good trade-off between the strengths of both approaches.




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

Search: