Adopt a “meaning-first” naming standard: identifiers must communicate semantics, representation, and units—so readers can’t guess.
Apply:
installDefaultKernel() if it no longer does “install default”).state vs status) and prefer enums/computed properties over raw string states like "running".addWaiter → addOrResume).memoryStringAsMiB, sizeInBytes), especially when converting/parsing.UpperCamelCase; variables/functions lowerCamelCase.Example pattern:
// Prefer explicit units
func memoryStringAsMiB(_ s: String) throws -> UInt64 { /* ... */ }
// Prefer named tuple fields or struct
let (totalCount, activeCount, totalSize, reclaimableSize): (Int, Int, UInt64, UInt64) = ...