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

Rust's philosophy is "explicit over implicit" - braces fall inline with that. One extra line for a struct is really not a lot.

That whitespace sensitivity also leads to having to escape newlines, with `\` trailing lines all over the place in Python. I find that far uglier than "4 times the dots" for import statements.

> Of course, I don't agree :-)

For sure, I think that's kind of my point. Like, this all feels very unimportant to me and extremely subjective. I think that rust's syntax fits into its philosophy, however. I would not mind unifying path syntax such that `:` became `.` however.



oh the irony...

    "Explicit is better than implicit."
;-)


It's a fantastic example of how witty sayings don't necessarily lead to agreement, even among people who would agree in the truth of the saying.


Indeed... "philosophy" is often a poor justification for technical choices.


I don't actually see the irony?




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

Search: