
How learning Rust made me like programming again
You might be wondering why the image for this post is a picture of a crab. That is because the official mascotte for the Rust programming language is a crab.
I recentely started teaching myself how to program in Rust and am really enjoying the process of learning a new language. At work I was beginning to notice the negative effects of working with AI too much. Using AI for programming has reduced not only how much I am growing as a developer, but also has removed the fun from programming. I was getting bored and felt like I accomplish very little even though I ‘wrote’ lots of code.
After listening to a few podcast episodes about congnitive fitness by Cal Newport and watching videos about the dangers of programming with AI, I decided to greatly reduce the amount of AI that I use. I felt like I had unlearned a lot about programming and was shocked to discover that deskilling is very much a real thing. I am still somewhat junior as a developer right now and if I were to continue to use AI this much, I would probably stay junior and likely become more junior over time.
That is why I decided to learn a language that I am not at all familiar with: Rust. I wanted to learn a systems programming language because right now I only know web development in various languages. I thought that Rust would be a good fit because the compiler is really great at catching mistakes and provides clear error messages.
I got a physical copy of the Rust Book as a gift and started learning from it. I am also working on small projects like my own window manager that implements the Penrose library and a small CLI tool to log my runs. I have other ideas for projects like a CLI music player and a terminal filemanager similar to lf or Ranger.
Rust has a project called rustlings that provides a set of small excercises to practice in combination with the book. Those excercises are not to complex for now, but I look forward to getting started with more advanced topics.
Learning a new language has really envigorated my love for programming and given me motivation to keep growing as a developer. It’s like a new world of possibilities has opened up. Of course I won’t use in learning Rust, just plain old search engines, tutorials, books and documentation. It feels delightfully old fashioned.