News for hackers. Stuff that matters.
Re:Rust Language Cheat Sheet by spectramax on Monday August 05, 2019 @04:05AM (#20612194)
I love the design of this site. It is compact, dense and to the point. I think we need to port cheatsheets for most popular languages in this format. There is also Learn Y in X minutes[1] which I often refer to but a cheatsheet like this where everything is neatly organized would be a huge help. I jump between 3-4 languages everyday and it is a pain in the ass to Google syntax, frankly embarrassing that I have to.

[1] https://learnxinyminutes.com/

Re:Rust Language Cheat Sheet by laGrenouille on Monday August 05, 2019 @05:11AM (#20612533)
Yes, agreed. The site is great and it would be nice to have a similar design for other languages. The closest example that I frequently use is cppreference[1] for C and C++, languages that I use just infrequently enough to forget the basic syntax.

[1] https://en.cppreference.com/

Re:Rust Language Cheat Sheet by ExtremisAndy on Monday August 05, 2019 @04:29AM (#20612326)
Oh, my! I have spend countless hours on the web looking for (and successfully finding, of course) cheat sheets for all sorts of languages, but somehow I had never come across this site. This is extremely well done. Thank you,spectramax, for basically revolutionizing my life this morning! :)
Re:Rust Language Cheat Sheet by andrewl-hn on Monday August 05, 2019 @01:56PM (#20616452)
Surprisingly, https://learnxinyminutes.com/docs/bash/ is the best resource out there to learn shell scripting. This page basically turned me from a novice who could only write two commands with | or && between them to a competent shell programmer. My shell scripts have functions, descriptive variables, error handling, good formatting, etc.
Re:Rust Language Cheat Sheet by dzamlo on Monday August 05, 2019 @07:29PM (#20620382)
I find shellcheck to be really great to go to the step beyound. It find a lot of things that make most shell script brittle and teach you some best practice.

Add shfmt on top and you are good to go.