this post was submitted on 04 Jul 2025
192 points (100.0% liked)

Programmer Humor

24829 readers
843 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 16 points 4 days ago* (last edited 4 days ago) (2 children)

Why you shouldn't use YAML

[–] [email protected] 21 points 4 days ago

The best approach would be to never use yaml for anything

[–] [email protected] 6 points 4 days ago

YAML doesn't require any level of accuracy for floating point numbers, and that doc appears to have numbers large enough to run into problems for single-precision floats (maybe double too). That means different parsers could give you different results.