top | item 12807093

(no title)

ConAntonakos | 9 years ago

Pardon me if it's a silly question, but was Swift not a viable option for macOS development?

discuss

order

darknoon|9 years ago

Origami eng here:

Swift wasn't ready when we started a couple years ago. We actually used some swift for internal things and it has been a bit of a pain, eg with the macOS SDK update for Xcode 8. Combining ObjC and C++ you get a lot of the benefits of swift like functional programming / static type checking etc, paying a similar price in compile time.

It would be hard to achieve the elegance of ComponentKit syntax (https://github.com/facebook/componentkit) in swift though. It lets us express the UI in a functional way :D

ConAntonakos|9 years ago

Interesting! Thanks for the response!