Recent submissions

Comment · 2 years ago
Agreed. There's also another aspect at play: to build knowledge one step at a time with this learn-by-doing approach, you have to get learners to write code that's not perfectly idiomatic along the way. You then correct and refine those first drafts as you progress along.

In the case of setters, we get rid of them at the end of that chapter by using the newtype pattern thus guaranteeing that field invariants can't be broken even if you can access them directly.

Comment · 2 years ago
Open beta is coming! A few more months of polishing, and then I'll open the floodgates.
Comment · 2 years ago
Author here!

To be fair, there is no particular backstory. I picked a hermit crab as the book logo since crabs are strongly associated with Rust due to Ferris, Rust's mascot. I then landed on that style (and the skull) because they looked sick and distinctive. The cover images of many technical books are incredibly dull these days.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton