Having trouble reading this email? View it in your browser.
New This Week

Rust Brain Teasers »

Even though Rust works hard to avoid surprises, this collection of brain teasers will challenge your assumptions and make you a better programmer for it. Like all languages, though, Rust still has its quirks. But these quirks present a teaching opportunity. Learn to avoid common mistakes, deepen your knowledge, and have tons of fun solving all these puzzles.

Recently Released:

 

Best Sellers:

Make sure you haven't missed anything!

  1. Python Testing with pytest, Second Edition
  2. Effective Haskell
  3. Agile Web Development with Rails 7
  4. Practical Vim, Second Edition
  5. Programming Phoenix LiveView

See all best sellers...

Rust Brain Teasers: Exercise Your Mind
March 09, 2022

Rust Brain Teasers: Exercise Your Mind

What better way to exercise your brain and increase your Rust programming knowledge than with a collection of dynamic brain teasers? As you read through each of these puzzles and try to work out the answers, you'll not only learn about Rust's unique quirks and peculiarities, you'll also have loads of fun along the way.

Dive right in and get started with example code and sample problems that cover numbers and text, shadowing and memory, and everything in between. Try to figure out why a particular program won't compile, why it produces unexpected output, or why it panics and terminates with an error message. Once you've run the code and read the answer, it's time to get to the heart of the matter with a detailed explanation. Learn why a program produced the result it did, and discover how similar issues might affect the code you write in your own programs, even in production. Sourced from engaging discussions within the Rust community, real-world problems, and even reader feedback, these challenges will certainly surprise, enlighten, and entertain you.

Are you ready to experience Rust like never before? Then sharpen your brain and get ready for a challenge!

Now in print: Use coupon code "RUSTBRAINCOMPLETE" for 40% off the ebook at pragprog.com/titles/hwrustbrain. For the paperback edition, please support your local independent bookstore.

You Could Be a Published Author

Is there a tech topic you are deeply passionate about and want to share with the rest of us? You could become a published Pragmatic Bookshelf author! Take a look at our pragprog.com/become-an-author page for details, including our 50% royalty (yes, for real!) and world-class development editors.

Remember, the best way to tell the future is to create it.

Upcoming Author Appearances

  • 2022-03-17 Ben Cotton, FOSS Backstage
  • 2022-04-01 Kenneth Kousen, Gateway Software Symposium, St. Louis, MO
  • 2022-04-01 Kenneth Kousen, Gateway Software Symposium, St. Louis, MO
  • 2022-04-02 Kenneth Kousen, Gateway Software Symposium, St. Louis, MO
  • 2022-04-06 Frances Buontempo, ACCU Conf 2022 (UK and online)
  • 2022-04-08 Kenneth Kousen, Lone Star Software Symposium, Dallas, TX
  • 2022-04-08 Kenneth Kousen, Lone Star Software Symposium, Dallas, TX
  • 2022-04-09 Kenneth Kousen, Lone Star Software Symposium, Dallas, TX
  • 2022-04-09 Kenneth Kousen, Lone Star Software Symposium, Dallas, TX
  • 2022-04-12 Kenneth Kousen, DevNexus, Atlanta, GA
  • 2022-04-22 Kenneth Kousen, Northern Virginia Software Symposium, Reston, VA
  • Don't Get Left Out

    Are your friends jealous that you get these spiffy email newsletters and they don't? Clue them in that all they need to do is sign up at pragprog.com.

    Tell your friends! Tweet this

    Follow us on Twitter for the latest news, commentary, and occasional discounts: @pragprog, Andy Hunt @PragmaticAndy.

    Thanks for your continued support,

    By Professional Developers, for Professional Developers
    PragProg.com

    Sent by the Pragmatic Programmers, LLC. • 9650 Strickland Rd Ste 103-255• Raleigh NC 27615