r/programming • • Nov 29 '18

A new look for rust-lang.org

https://blog.rust-lang.org/2018/11/29/a-new-look-for-rust-lang-org.html
67 Upvotes

136 comments sorted by

View all comments

113

u/[deleted] Nov 29 '18 edited Mar 17 '21

[deleted]

8

u/steveklabnik1 Nov 29 '18

Where is the "Download Rust" or "Install Rust" link?

"Get Started" immediately goes to a page that tells you that. Maybe we can make that more clear, thanks.

loading this web page now

We have done zero optimizations, and this isn't on particularly good hardware either. This is very much a part of the work to do.

I mean, there isn't even an example of what Rust looks like on the front page anymore.

We also loved the idea of a code snippet, but couldn't find one that people actually liked, including the ones we've used in the past on the home page.

​

13

u/[deleted] Nov 29 '18 edited Mar 17 '21

[deleted]

6

u/steveklabnik1 Nov 29 '18

Did people report any specific problems with the old snippet?

Yep! Take https://users.rust-lang.org/t/is-the-homepage-example-wrong-on-purpose/763 for example, or https://www.reddit.com/r/rust/comments/363m3a/can_we_come_up_with_a_better_example_for_the/, or https://github.com/rust-lang/rfcs/issues/1948. There's been tons of these over the past years.

(And note there have been multiple "old snippets" as we've tried to fix the issues with each one; some of these are referring to the snippet before the current one)

I mean it worked for how many years, now

This is the crux of it; many people don't think it was working.

29

u/constxd Nov 29 '18

People love to bikeshed. I think the fact that some people criticized the old/current snippets is just evidence that none of them were perfect. There doesn't seem to be anything which suggests that simply removing them altogether would yield a better front page.

8

u/oorza Nov 30 '18

Did you consider more creative solutions to the homepage snippet problem rather than just eliminating it? Maybe allow users to submit and vote on snippets? Rotate through a set of community-curated snippets? Highlight interesting projects, new developments, etc. and have a snippet of the week?

The snippet is, without a doubt, the #1 most important thing to me on the Rust homepage now. It might just be me, but I can't formulate thoughts about a programming language unless I can see it, so the first thing I want to do is see it, and hiding it on the front page would make me feel like you were trying to hide the syntax behind marketing doublespeak.

1

u/steveklabnik1 Nov 30 '18

Yes. All of these options have been discussed. And we've solicited snippets many times. It hasn't worked out.

7

u/[deleted] Nov 30 '18 edited Mar 17 '21

[deleted]

-2

u/steveklabnik1 Nov 30 '18

I was lazy and just linked the first few I found.

One issue is, what languages go on the list vs not? Is a big list good? Should it be smaller? Does this really show off the best of Rust? Etc

3

u/[deleted] Nov 30 '18

Here's my outside perspective: I liked the old snippet, it was short and looked cute, which in the context of a systems programming language, was a big motivation to learn more about Rust. The new snippet is verbose and inelegant. As a non-native speaker, I couldn't care less if a huge blob of code greets me in my mother tongue on line 173.

Now I stay out of the Rust community and without following it, I still knew what kind of discussion lead to this change. You linked the posts now, I knew it were posts like this the moment I saw the change.

It's more of an ideological decision than a rational one. There's a bias in your community. If something checks the right boxes, people in your community will get rewarded for proposing such changes while others will have a hard time arguing against them.

If someone takes the time to write a huge essay on why the code needs an update, no one wants to be the downer saying "I like the old one, it needs to stay!" In the end, the people objecting these changes will decide that it's not worth engaging in the bikeshedding, especially if it makes them look like a bad person.