Got this nice review for rustplatform.com ๐
If you want to take your Rust ๐ฆ + programming skills to the next level as a Pythonista, check it out; this platform is made for #Python people ๐๐
Day 10 ยท Basic Tokenizer ๐ฆ
Ok, after 9 concept days/exercises, time to build something more real in #Rust. ๐ช
In Bite #10 you'll turn raw text into tokens. The first step every parser, compiler and interpreter takes.
None, the billion-dollar mistake ...
A function can hand you `None`, and the developer needs to check it.
The bug isn't the `None` per se.
The bug is that the language lets you ignore it until it blows up at runtime.
#Rust doesn't have `null`. ๐
A function that might not
New exercise track ๐
#unix classics: wc, head, grep, cut, sort, sed ...
up to a top_words capstone:
`tr -s ' ' '\n' < file | sort | uniq -c | sort -rn | head`
Taught from #Python. ๐
You rebuild them in #Rust. ๐ฆ
Nice feedback from somebody going through our #rust exercises:
> I started with the Rust Platform - exercises and really enjoy the comparison made with Python at each one of them! It allows to appreciate both languages in one go. Plus I love the reference made in some of them to