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

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 at Swift India

Love podcasts or audiobooks? Learn on the go with our new app.

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
G. Abhisek

G. Abhisek

Software Developer(iOS), Speaker & Writer at Swift India

More from Medium

Form positive habits

Capgemini Introduces Dedicated Quantum Lab, Collaborates with IBM

Tips and Tricks to Stop Smoking.

How I spent a month saying “yes” to things to improve my social life and what I learned