Charles Muchene's Blog

Charles Muchene's Blog

Follow
homeMePortfolioBuy me teabadges

Iterator Pattern

May 11, 20234 min read

The Iterator design pattern is a well-known and often-used pattern. It allows us to access elements in a collection without the need to know about the...

Iterator Pattern

Composite Pattern

Apr 17, 20235 min read

The composite design pattern allows us to create a tree structure of objects. The key idea with the pattern is that given a root component, we can...

Composite Pattern

Can I borrow the Moved Iterator?

Apr 6, 20234 min read

The concept of Ownership is no doubt one of Rust's most unique feature. I recently worked on a command line program using Rust and encountered a...

Can I borrow the Moved Iterator?

Rusty Crates in the Cargo

Apr 6, 20235 min read

Rust is the most loved programming language according to this StackOverflow developer survey. From its consistent ranking, 7 years in a row, it seems...

Rusty Crates in the Cargo

Template Method Pattern - The ViewModel

Mar 22, 20232 min read

In this article, we'll go over the template method pattern and take a look at the Android ViewModel class as an example implementation of the...

Template Method Pattern - The ViewModel

The case for Flutter

Nov 5, 20206 min read

tldr; Here's a few hours work -- mostly spent on Flutter's documentation. This' good. Cross Platform Frameworks I once, back in 2015, worked with a...

The case for Flutter