News for hackers. Stuff that matters.
Re:Interacting with C Pointers by nextstep on Monday July 28, 2014 @10:25PM (#8100402)
>> For safety, Swift requires the variables to be initialized before being passed with &. This is because it cannot know whether the method being called tries to read from a pointer before writing to it.

Isn't the 'maybeError' var being used uninitialized in the example right about this passage?

Re:Interacting with C Pointers by charlesism on Monday July 28, 2014 @10:28PM (#8100412)
It actually does get initialized, albeit intialized to "nil". Someone asked the same question on the devforums. https://devforums.apple.com/thread/238423?tstart=0