3 ms·
How is Swift JavaScript-like?
by robbyking 7y ago
How is Swift JavaScript-like?
- _bxg1 7y agoSyntactically it's like someone took TypeScript and said, "what are a couple of tweaks we can perform to make it slightly more ergonomic, and also how do we get rid of the garbage collector".
- jdmoreira 7y agoNo. They are both typed languages but the feature set is not even comparable. Swift is a huge language
- _bxg1 7y agoI'm not saying they're equivalent, I'm saying if you're used to reading TypeScript then Swift will be very familiar, syntactically. That matters if you're thinking about splitting your codebase across two languages.