> On Apr 15, 2017, at 9:40 AM, Karl Wagner via swift-evolution 
> <[email protected]> wrote:
> 
>> On 13 Apr 2017, at 06:20, Brent Royal-Gordon via swift-evolution 
>> <[email protected] <mailto:[email protected]>> wrote:
>> 
>>> On Apr 12, 2017, at 2:12 PM, Zach Waldowski via swift-evolution 
>>> <[email protected] <mailto:[email protected]>> wrote:
>>> 
>>> I want to disagree with this is strongly as possible lest it influence
>>> the proposal in any way whatsoever. Just because you can solve something
>>> through reflection doesn't mean you should.
>> 
>> 
>> Cosigned. Reflection is really cool, but it's generally going to be the 
>> least-efficient, most-buggy possible way to implement a given feature. 
>> There's something to be said for just...writing some code. Especially when 
>> the computer is writing it for you.
> 
> The computer writing it for you is good, but the compiler writing it for you 
> is bad. For one thing, it’s less easy to debug source code that isn’t written 
> anywhere.

Depends on exactly what you mean by “isn’t written anywhere”... Xcode can show 
what a C-family file looks like post-preprocessing (although I don’t think it 
lets you set breakpoints or anything, so it’s only half a solution in terms of 
debugging). I haven’t used other IDEs enough to know if that’s a common 
feature. Anyway, I’m not sure that’s a road we should or even can go down, but 
it’s not entirely without precedent.

- Dave Sweeris
_______________________________________________
swift-evolution mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to