24

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 7 points 1 month ago

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 6 points 1 month ago

An honorable goal ๐Ÿ˜€

[-] 8Bitz0@discuss.tchncs.de 1 points 1 month ago

What did YAML ever do to you?

[-] webbureaucrat@programming.dev 4 points 1 month 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.

this post was submitted on 29 Sep 2024
24 points (96.2% liked)

Rust

6005 readers
3 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