News for hackers. Stuff that matters.
Re:Matt Godbolt sold me on Rust by showing me C++ by frankus on Tuesday May 06, 2025 @02:59PM (#43908500)
I work all day in Swift (which makes you go out of your way to omit argument labels) and I'm surprised they aren't more common.
Re:Matt Godbolt sold me on Rust by showing me C++ by kevincox on Wednesday May 07, 2025 @06:57AM (#43914192)
Yeah, this is one of the few things that I love about Swift. I think it gets it exactly right that keyword arguments should be the default and you can opt out in cases where the keyword is really unnecessary.