rustup icon indicating copy to clipboard operation
rustup copied to clipboard

"rustup self help" should include an inspirational quote

Open brson opened this issue 7 years ago • 8 comments

Suggested by @mbrubeck, who knows I'm a big fan of easter eggs. I approve.

brson avatar Apr 05 '17 23:04 brson

I should actually think this through harder before deciding we should definitely do it.

brson avatar Apr 05 '17 23:04 brson

ELIZA!

smackysnacks avatar Apr 07 '17 17:04 smackysnacks

Does anyone have an inspirational quote or a list of quotes that they think should be included?

londospark avatar Dec 10 '20 23:12 londospark

I'm not sure what would inspire people, though as vaguely useful to programmers go, I quite like:

  • “Knowledge is power.” – Francis Bacon
  • “ Code is like humour. When you have to explain it, it’s bad.” – Cory House
  • “Make it work, make it right, make it fast.” – Kent Beck
  • “Any fool can write code that a computer can understand. Good programmers write code that humans can understand.” – Martin Fowler
  • “That's the thing about people who think they hate computers. What they really hate is lousy programmers.” ― Larry Niven
  • “The most important property of a program is whether it accomplishes the intention of its user.” ― C.A.R. Hoare

I'm sure you could find more with a brief look around. It'd be worth ensuring that none of the authors of the quotes are now considered problematic before using them though, I'd rather not introduce that kind of problem into the rustup codebase

(Note, I've not checked the authors above, it's just a set of quotes I quite liked when looking around).

kinnison avatar Dec 10 '20 23:12 kinnison

Of course, as was suggested above, thinking carefully about whether or not this would be acceptable to add is also important. We'd be adding public API to the primary interface a lot of people have with the language, so I'd not immediately accept a PR for this unless it was reasoned out as to why this is safe/sane to add.

kinnison avatar Dec 10 '20 23:12 kinnison

rustup self help is already a valid command, which is the reason I made this joke originally. This wouldn't add any new API; it would just add a sentence or two to the existing help text.

mbrubeck avatar Dec 11 '20 03:12 mbrubeck

I'd like to take on this task. To clarify the implementation specification, I have a question about where I can place the sentence. Append the sentence after help text like following image ? CleanShot 2023-10-25 at 23 30 09@2x

amikai avatar Oct 25 '23 15:10 amikai

The hard part is figuring out which quote(s) to put in. I'm not sure we currently have the resources to invest in this task.

djc avatar Oct 25 '23 15:10 djc