News for hackers. Stuff that matters.
Re:Pkl, a Programming Language for Configuration by mixmastamyk on Saturday February 03, 2024 @08:01PM (#39246438)
Schemas are often better than syntax typing. In other words the program decides what the type is, not the file.
Re:Pkl, a Programming Language for Configuration by Silphendio on Saturday February 03, 2024 @10:14PM (#39247187)
If the schema allows union types, I don't want to deal with unquoted strings.
Re:Pkl, a Programming Language for Configuration by mixmastamyk on Sunday February 04, 2024 @01:34AM (#39248120)
You don’t deal with syntax period. Union types are not desirable with configuration with the exception of |null perhaps, which should receive a default.