this post was submitted on 29 Sep 2024
13 points (100.0% liked)

Rust

111 readers
5 users here now

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

!performance@programming.dev

Credits

  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

founded 1 year ago
MODERATORS
 

Hi rustaceans! What are you working on this week? Did you discover something new, you want to share?

you are viewing a single comment's thread
view the rest of the comments
[โ€“] webbureaucrat@programming.dev 6 points 1 month ago (2 children)

I'm working on a fault-tolerant JSON5 parsing library in the service of a JSON5-to-JSON and JSON5-to-YAML transpiler.

My goal is to never write any more YAML ever again.

[โ€“] secana@programming.dev 5 points 1 month ago

An honorable goal ๐Ÿ˜€

[โ€“] 8Bitz0@discuss.tchncs.de 1 points 1 month ago (1 children)

What did YAML ever do to you?

I am a YAML hater. The biggest thing about YAML that keeps biting me recently is this:

script:
    - echo "a key: a value"

throws parse errors because of the colon, even though it is inside a quoted string.

But there are lots of reasons to hate YAML.

Honestly, an underrated one to me is I just hate significant whitespace. I don't want to use any language that supports it.