this post was submitted on 01 Sep 2025
31 points (94.3% liked)
Rust
7313 readers
132 users here now
Welcome to the Rust community! This is a place to discuss about the Rust programming language.
Wormhole
Credits
- The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Interesting perspective. Not sure I agree with most of the suggestions though.
Some of the earlier ones remind me of C#'s records. Were they inspired from them?
Some of the later ones just feel like Go to me.
I like the idea of dropping syntax for ranges. It does feel like the syntax just leads to confusion.
Named parameters are problematic because of parameter names becoming significant to the API. See Python's
*
and/
in parameter lists (likedef foo(a, *, b)
for example).No, that stuff is much much older.
I think the name problem is overblown, you can always have an annotation to facilitate name changes.