I’m learning Rust at the moment and I too think I have some reservations with its syntax. Most of these reservations come from my strong preference for functional programming over OOP.
I am unsure if I like method-syntax period, even if it isn’t inherently OO. Chaining just makes me feel uncomfortable in a way piping doesn’t.
Also it seems idiomatic for values of enumerated types to be written Type::Enum
, which seems ugly and unnecessary.
What’d you make of this article?: https://matklad.github.io/2023/01/26/rusts-ugly-syntax.html
They’re gorgeous. You must be proud.