Lack of namespaces forces misuse of enums for organization

4/10 Low

Swift lacks namespace support like C#. Developers must use enums as a workaround for namespace functionality, which is semantically incorrect and creates sadness about the solution.

Category
dx
Workaround
hack
Stage
build
Freshness
persistent
Scope
language
Upstream
open
Recurring
Yes
Buyer Type
individual
Maintainer
slow

Sources

Collection History

Query: “What are the most common pain points with Swift for developers in 2025?4/4/2026

And the lack of namespaces. I *so* would like C#-style namespaces... Making enums, when you just need a namespace, makes me sad

Created: 4/4/2026Updated: 4/4/2026