Help me find blog post about verbosity vs expressivity in Rust

I recall reading a wonderful blog post (it might have been by @matklad) which started off by comparing a beautiful, clean, concise function written in Python, to the verbose and ugly horror that is its equivalent in Rust.

Then it pointed out, one by one, the things that were explicitly stated in or dealt with by the Rust version but were ignored, assumed or overlooked in the Python version, and how the Python version needed to be adjusted to include them.

In the end, when the meaning of the Python version reached parity with the Rust version, the Python version was just as ugly, if not uglier, than the Rust one.

Every few months I try to find this post, and every time I fail.

Did I imagine it? Does it exist? Can you help me find it?

This maybe?

1 Like

lol, was going to reply “definitely not me” but then clicked the link. I forgot about that post!

3 Likes

Well, my description was kinda backwards, so you have an excuse :wink:

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.