Great article Aaaina. What if we declare global constants as:

struct MyConstant {
static var myName: String { return "Bunty" }
}

myName is a computed static get only variable. Since it is a computed property it would be allocated temporary memory till the time of the computation. This would also address @Maxims concerns.

Software Developer(iOS), Speaker & Writer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store