Re:TypeScript 3.7: The Biggest Features and How to Use Them
by tomtomau on Thursday September 12, 2019 @05:56PM
(#20956891)
I 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!
Re:TypeScript 3.7: The Biggest Features and How to Use Them
by drenvuk on Thursday September 12, 2019 @05:56PM
(#20956893)
it 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.
Re:TypeScript 3.7: The Biggest Features and How to Use Them
by hatfortguy on Friday September 13, 2019 @06:42AM
(#20960863)
Point 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.
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.