News for hackers. Stuff that matters.
Re:Switching from C++ to Rust by mikebenfield on Monday March 13, 2023 @09:24PM (#35146045)
I know your claim will strike some people as absurd, but I agree. I am honestly flabbergasted that any general purpose language created in the last 20 years doesn't have sum types and pattern matching. To me they are very nearly as fundamental as aggregate types (aka structs or product types).
Re:Switching from C++ to Rust by johnny22 on Monday March 13, 2023 @10:12PM (#35146444)
even php has some level of pattern matching now.
Re:Switching from C++ to Rust by the_gipsy on Tuesday March 14, 2023 @08:29AM (#35150399)
What does php not have by now, is the question.