Recent Posts
Mock Objects (manually) in Rust
As I've been learning the Rust programming language and the Godot game engine (streaming at http://www.twitch.tv/paytonrules) I've been increasing the amount of testing I've been doing. I started by doing..well none.. and have been moving more and more into a TDD flow as I become more comfortable with the language and environment. One of the real challenges with TDD in Rust was figuring out how to use mock objects or substitutes.
read more
Immutable Code with mut self
Recently I started streaming my adventures with godot-rust over at https://www.twitch.tv/paytonrules. Come visit, while I'm still small enough to let you backseat code. The first completed project is a Blackjack game, where the code is entirely written in Rust using the Godot game engine.
I wrote the code bottom-ish up, where I test-drove a command-line version of the app first, and then attached a mostly test-free Godot UI on top.
read more