let’s define struct in a function! Swift Swipe
The first time I know I can define a struct within a function body, I was quite
surprised. Why the hell I want to do such annoying thing?
For naming scope? No, I can only use it in my function scope.
For better segregate the logic? Maybe, but still, I