Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
I call it thsl for Typed Human-readable Serialization Language. The main idea is to be a configuration language similar to yaml but with advanced type support. This is to avoid the problem of a config file getting deserialized into inconsistent data types. See The Norway Problem.
I am aware of several other ways to go about this. For instance, maintaining a config dataclass and then using a library like dacite to deserialize some json into your nicely typed object. I have done this many times myself. Another is the Dhall configuration language which is a full blown programming language in itself! Seems a bit overkill but that is just me. There are so many ways to do configs, I wonder if I am doing anyone a favor by trying to invent another. This time though it will be different!