Skip to content

Commit fca3721

Browse files
committed
prelude
1 parent ef6678a commit fca3721

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

content/blog/ugly/index.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,13 @@ series = "Idiomatic Rust"
1010
It's clear that Rust has a readability problem -- or at least that's what people claim on a regular basis.
1111
After programming in Rust for 10 years, I think that your coding style has the biggest impact on how your Rust code will look and feel.
1212

13+
In workshops I find people getting frustrated with Rust.
14+
They write Rust like they would write idiomatic code in other languages, but it doesn't feel right.
15+
"You can write bad Java code in any language," is a common saying, and I think it applies here as well.
16+
17+
**Idiomatic Rust ticks all the boxes: it feels right, is correct, and readable.**
18+
19+
1320
Let's take a simple example: parsing a `.env` file in Rust. How hard can it be?
1421

1522
```sh

0 commit comments

Comments
 (0)