|
|
Subscribe / Log in / New account

Rust syntax is only getting worse

Rust syntax is only getting worse

Posted Sep 24, 2025 16:31 UTC (Wed) by mb (subscriber, #50428)
In reply to: Rust syntax is only getting worse by sturmflut
Parent article: Canceling asynchronous Rust

Well, it's pattern matching.
Many languages support this.

Rust doesn't force you to nest patterns like in the above code, though.
But it's pretty common, because it actually is quite readable, once you understand pattern matching.


to post comments


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds