Seems Swift has no way to namespace functions aside from methods on data structures. Seems too OO; maybe I missed something?
Conversation
Replying to
Yes, static funcs on structs is typical practice now. I imagine we’ll get qualified imports eventually.
Replying to
Thanks Andy, I appreciate the response :) Might it be more preferable to use enums instead of structs if there's no data?
1
Don’t think it matters in terms of codegen, if we’re talking static funcs.
1
Show replies

