- Published on
Naming in Swift Part 3: Boundary Words
Boundary words delimit actions, events or processes in Swift APIs and have distinct semantics.
I'm James. During the day I am a product manager for developer experience. After hours I try to work on my side projects and write about them here.
Boundary words delimit actions, events or processes in Swift APIs and have distinct semantics.
Let’s start this series with a meta discussion about how to name properties that themselves are used to name, describe or otherwise identify things. On Apple platforms, words used for these purposes are name, title, identifier and more recently id.
While there is lots of writing on programming style, syntax and formatting, I've seen very little centred on vocabulary. Most writing that I've come across tends to focus on vague outcomes like "make names clear and consise" without actually telling you what words to use.