News for hackers. Stuff that matters.
Re:“No, we’re telling everyone we are using Java” by vikingcaffiene on Saturday March 09, 2019 @10:41PM (#19350039)
You are completely right. I work mostly in TypeScript and JavaScript for day to day and I miss pattern matching so much. Object de-structuring is nice and all but once you've seen the possibilities in a language where its a first class citizen... everything else just seems inadequate.
Re:“No, we’re telling everyone we are using Java” by Klathmon on Monday March 11, 2019 @12:01PM (#19359946)
It's getting there for us in JS land, slowly but surely! There's still a lot of discussions that need to happen (read as "mostly bikeshedding" IMO), but once they settle on the actual syntax, i'd feel comfortable to start using it with compilers.

https://github.com/tc39/proposal-pattern-matching