| ▲ | sippeangelo 8 hours ago |
| It's especially clear in the "inline dict" example. I really like it! props:: mime_type: "text/html", encoding: "gzip" # Inline dict.
|
|
| ▲ | OJFord 7 hours ago | parent [-] |
| But that's not done for human readability, that's done for machine parsing? A human would understand just as well: props: mime_type: "text/html", encoding: "gzip" # Inline dict.
|
| |
| ▲ | lucketone 6 hours ago | parent | next [-] | | My mind has a feeling that this might be possible interpretation: props: [mime: [html, encoding:[gzip]]]
(Even if not legal, to be sure, I must backtrack and concentrate on this particular piece)There are many different humans. I definitely like the idea to separate “:: vs :”. | |
| ▲ | F3nd0 6 hours ago | parent | prev [-] | | For me, it’s clearer with a double colon. Not intuitive, but extremely easy to get used to. When I see the first colon introduce a list, I have to go out of my way to not see the other colons as introducing lists. |
|