canpolat to ProgrammingEnglish · 2 years agoIntroducing Pkl, a programming language for configurationpkl-lang.orgCodestin Search AppCodestin Search App19Codestin Search AppCodestin Search AppCodestin Search App37Codestin Search App1cross-posted to: kubernetes
Codestin Search App36Codestin Search AppCodestin Search AppIntroducing Pkl, a programming language for configurationpkl-lang.orgcanpolat to ProgrammingEnglish · 2 years agoCodestin Search App19Codestin Search AppCodestin Search Appcross-posted to: kubernetes
Codestin Search Appabhibeckert@lemmy.worldCodestin Search AppCodestin Search AppCodestin Search App4·2 years agoPkl is a hell of a lot easier to work with. Compare this pkl code: host: String port: UInt16(this > 1000) To the equivalent in json: { "$schema": "http://example.org/my-project/schema#", "type": "object", "properties": { "host": { "type": "string" }, "port": { "type": "number", "minimum": 1000, "exclusiveMinimum": true } }, "required": ["host", "port"] }
Codestin Search Appitsathursday@lemmy.worldCodestin Search AppCodestin Search AppCodestin Search App1·2 years agoNice
Pkl is a hell of a lot easier to work with. Compare this pkl code:
To the equivalent in json:
Nice