Big Baboon

Big Baboon

Tech blog posts

Latest Put Your Defaults at the End: Argument Ordering in Swift

March 20, 2026 by Dan Sinclair
API Design Development iOS Swift

A small decision with big impact: why required parameters should come first and defaulted parameters should trail at the end. The Swift API Design Guidelines agree.

Read More

Sometimes a Bool Isn't the Answer: Two-Value Enums in Swift

March 16, 2026 by Dan Sinclair
Development Enums iOS Swift

Booleans are simple, but sometimes they create more confusion than they solve. When false doesn't have an obvious meaning, a two-value enum might be the clearer choice.

Read More
Buy Me A Coffee

© 2026 Big Baboon.