4 ms·
This is really starting to remind me of Swift. Coming from Swift, undefined and null handling always felt clumsy in both Javascript and Typescript. Glad I'll
by ElFitz 7y ago
This is really starting to remind me of Swift.
Coming from Swift, undefined and null handling always felt clumsy in both Javascript and Typescript.
Glad I'll finally get my optionals and nil coalescing back; I've missed them ever since I moved from iOS development to FaaS.
- tomtomau 7y agoI spent a bit of time in Swift and came back to web and got into frontend which certainly filled a gap for me! Now we just need `if let` and `guard let` in TypeScript and we'll be good!
- drenvuk 7y agoit feels like the new features for recent languages are starting to look the same because they're nice. Kotlin has this stuff too. Rust and Kotlin have a similar style of null handling.
- hatfortguy 7y agoPoint well made. I've spent some time with TS, Rust, and Kotlin recently and I really enjoy how they all have these kinds of features. Really feels like they see how well it works elsewhere and learn from one another.
- celim307 7y agoor ruby