3 ms·
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
by insanitybit 3y ago
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.
- JodieBenitez 3y agooh the irony... "Explicit is better than implicit." ;-)
- steveklabnik 3y agoIt'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.
- JodieBenitez 3y agoIndeed... "philosophy" is often a poor justification for technical choices.
- insanitybit 3y agoI don't actually see the irony?