YAML? That's Norway Problem

原始链接: https://lab174.com/blog/202601-yaml-norway/

Hacker Newsnew | past | comments | ask | show | jobs | submitloginYAML? That's Norway Problem (lab174.com)7 points by theanonymousone 1 hour ago | hide | past | favorite | 2 comments help rpreetha 20 minutes ago | next [–] Was backward compatibility the main reason YAML kept these implicit conversions for so long, or was there a stronger usability argument originally?replyal_borland 1 hour ago | prev [–] For yaml in the context of Ansible, this was recently fixed a little while back in v2.19.They got more strict about booleans. For those who need/want the old behavior, ALLOW_BROKEN_CONDITIONALS can be set in the ansible.cfg or `is truthy` can be used for python-like version, but it becomes explicit vs being implied.reply Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact Search:
相关文章

原文
YAML? That’s Norway problem

What is yaml

Yaml is a well-known data serialization language designed for human readability. It’s a popular choice for configuration files and metadata. Here’s a simple example:

< Back to LAB174.com

联系我们 contact @ memedata.com