|
|
Subscribe / Log in / New account

Rust syntax is only getting worse

Rust syntax is only getting worse

Posted Sep 24, 2025 22:18 UTC (Wed) by sunshowers (guest, #170655)
In reply to: Rust syntax is only getting worse by sturmflut
Parent article: Canceling asynchronous Rust

(I presented the talk -- thanks for featuring it on LWN!)

I think the Ok(Ok(()) stuff is quite readable once you're used to it -- nested pattern matching is something to be used sparingly, but is reasonable to avoid added nesting levels (a match statement adds 2 nesting levels). It looks pretty reasonable with syntax highlighting.


to post comments


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