4 ms·
You're getting a bit of flak for this, but I actually think it's a valid comparison. While it's not intentional, but there's a fair level of similarity between
by matthewmacleod 7y ago
You're getting a bit of flak for this, but I actually think it's a valid comparison.
While it's not intentional, but there's a fair level of similarity between the techniques I find myself using in Typescript and Swift – to the point where I've been able to transcribe some Swift code into Typescript when porting between platforms. Something to do with the "feel" of the language, maybe?
Swift is definitely one of my favourite languages to work with – something about the style of programming it invites just seems to click with me. I agree it would be really nice to use it more extensively, because so far it's just been a single-purpose language and that seems like a bit of a shame.
- nicoburns 7y agoI agree. And I think Rust is like JS too. I think it's the mix between functional and imperative code. Under the hood, JS and python are very similar, bit idiomatic JS and idiomatic Python couldn't me different. To me, idiomatic Swift/Rust feels like idiomatic JS, whereas idiomatic Go is more like idiomatic Python.