Hacker News new | ask | show | jobs
by nonamegdsa 3707 days ago
Is this construct commonly used in swift or is it an edge case? I've seen people referring to it as an edge case, but at the same time this is code which I find my self writing pretty often in other languages, for example when initializing data for unit tests.