Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Language Design: Rust’s Struct Initializer Syntax Was a Mistake (soc.me)
4 points by rurban on Sept 24, 2023 | hide | past | favorite | 1 comment


This is a known regret in Rust. It’s too late to improve it, because even though it’s technically possible, it would be a massive churn of all source code, and leave the language with two syntaxes for years to come.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: