Settings

Theme

ASCII protocol buffers as config files

rachelbythebay.com

2 points by smarx 2 years ago · 2 comments

Reader

lopkeny12ko 2 years ago

I've been using this pattern recently for a few projects for strong config typing. A nice property is that the protos define only the schema, and can technically be used with any config delivery format. This article uses prototext but you could easily use JSON, or any other language that "compiles down" to JSON (like YAML).

mdwalters 2 years ago

Dupe of https://news.ycombinator.com/item?id=37782010.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection