How do we organize code in Rust? Where do we break it apart into modules or crates, and why?
Structuring code in a language like Rust can seem a bit more ambiguous than doing the same in a language with classes to attach all our functionality to, but in practice, the concerns are much the same: modules are namespaces, and we group by responsibility. In today's episode, I talk through that philosophy (and give some comparisons to other languages), and then look at what it looks like in practice!
(Thanks to the couple people donating who opted out of the reward tier, as well. You know who you are!)
📆 2017-03-19 16:00 / ⌛ 00:13:30
📆 2017-02-28 23:20 / ⌛ 00:18:11
📆 2017-02-15 03:33 / ⌛ 00:10:42
📆 2017-02-01 00:32 / ⌛ 00:17:25
📆 2017-01-09 15:03 / ⌛ 00:08:38