-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"static nature of swift" remark #48
Comments
Crystal has very powerful macros which allow most things that you can achieve with ruby (except that those things need to happen during compile time). While swift has no macros, so you have pretty much no dynamic features. |
Thanks for question @ylluminate. As @dziulius mentioned Crystal has powerful macros. Swift is a very static language. Modern frameworks leverage on language dynamism a lot. There is simply no such dynamic features in Swift. That's the main reason we stopped to work on Swifton. Actually, there is still no framework in Swift that is considered as an alternative to popular frameworks in other languages. Even iOS development is possible in Swift only because of Objective C. |
Would |
Thanks @markmals. Yes, it's early days of dynamism in Swift. Who knows maybe one day it will be very dynamic and very convenient for web development. |
Incidentally, both those proposals have been implemented now. |
I appreciate your frankness (and I'm sure frustration) of your remark:
Could you please expound upon this and provide more reasoning as to how (and perhaps maybe why) this is the case? Personally I'm curious about how Swift has this lock-in when compared to Crystal (albeit Crystal is modeled after Ruby and I can see somewhat the difference). I'm just hoping to see things through your eyes better after working on this so diligently as you have and to understand the walls you hit more clearly.
The text was updated successfully, but these errors were encountered: