4 ms·
> Can you evolve your syntax as people get used to it? Not only are you adding work to your parser, but people who use your language also have to deal with the
by stymaar 10y ago
> Can you evolve your syntax as people get used to it? Not only are you adding work to your parser, but people who use your language also have to deal with the multiple iterations of the syntax that linger in various codebases.
Clippy[1] helps a lot in this case, it helps people writting idiomatic Rust and it's updated when new syntaxes introduces new ways to do stuff, so the old one is deprecated _de facto_.
[1] https://github.com/Manishearth/rust-clippy https://github.com/Manishearth/rust-clippy
- Manishearth 10y agoThere's actually some interesting discussion about making Clippy suggest ? instead of try: https://github.com/Manishearth/rust-clippy/issues/1361 https://github.com/Manishearth/rust-clippy/issues/1361
- kazagistar 10y agoIt would make sense to leave some time for the documentation to stabilize and usage to spread a little before pushing hard in that direction I think.