Hacker News new | ask | show | jobs
by ConAntonakos 3522 days ago
Pardon me if it's a silly question, but was Swift not a viable option for macOS development?
1 comments

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

Interesting! Thanks for the response!