this post was submitted on 29 Sep 2024
18 points (95.0% liked)

Rust

5807 readers
76 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 19 hours 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.

[–] 8Bitz0@discuss.tchncs.de 1 points 7 hours ago (1 children)

What did YAML ever do to you?

[–] webbureaucrat@programming.dev 1 points 6 hours ago

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.

[–] secana@programming.dev 5 points 18 hours ago

An honorable goal 😀