Software Design: Tidy First?

Share this post

User's avatar
Software Design: Tidy First?
Functional Genie

Functional Genie

Getting the genie to use functional programming style in Rust

Kent Beck's avatar
Kent Beck
Jun 08, 2025
∙ Paid
11

Share this post

User's avatar
Software Design: Tidy First?
Functional Genie
4
Share

I’m working on a project in Rust to build a performance-competitive, library-quality implementation of a map with sorted keys.

Since it's a new language for me, I didn't notice the genie using an awkward idiom when calling functions that return an Option. The (apparently) default style is to explicitly check results with an if statement.

if let Some(left)…

This post is for paid subscribers

Already a paid subscriber? Sign in
© 2025 Kent Beck
Privacy ∙ Terms ∙ Collection notice
Start writingGet the app
Substack is the home for great culture

Share