News for hackers. Stuff that matters.
Re:Matt Godbolt sold me on Rust by showing me C++ by Ygg2 on Wednesday May 07, 2025 @03:47AM (#43913166)
No? This happens in any language that has keyword args.

If I delete/rename a field of a class in any statically checked language, it's going to report a compile error, and it's still a breaking change.

Re:Matt Godbolt sold me on Rust by showing me C++ by const_cast on Wednesday May 07, 2025 @05:31PM (#43920766)
Sure, but it doesn't actually matter because this can't ever manifest as a bug. Your PR will just be rejected, which to me, is correct behavior.

Typically when you're changing a name you're changing behavior, too. This isn't just something we should let slip under the radar, otherwise bugs can actually manifest.