Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
firearm-halter
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
firearm-halter
5y ago
yep python-version: - 3.8 - 3.9 - 3.10 can be written: python-version: [3.8, 3.9, 3.10] same is true for dictionaries.
2.
▲
by
firearm-halter
5y ago
The issue with YAML is that it does not unambiguously distinguish between number/booleans and strings. JSON does, but only for numbers, booleans, and nulls. But there are many data types that need to be conveyed. For example, dates a
3.
▲
by
firearm-halter
5y ago
I think the important difference between NestedText and YAML is that NestedText does not try to convert the text to numbers or booleans. YAML converts on to True and 3.10 to 3.1, which in this case is undesired. NestedText keeps text as s
4.
▲
by
firearm-halter
5y ago
The person that creates the config file does not necessarily choose the config file format. In the example, github chose YAML and everyone using github actions must use it. YAML is error prone, as everyone that tests with Python is finding
5.
▲
YAML: It's Time to Move On
(nestedtext.org)
265 points
by
firearm-halter
5y ago
|
392 comments