4 ms·
Seems like they could have used something a bit nicer to work with too (yaml, libucl, hocon, etc). I am honestly getting tired of editing fiddly json (no commen
by stock_toaster 10y ago
Seems like they could have used something a bit nicer to work with too (yaml, libucl, hocon, etc). I am honestly getting tired of editing fiddly json (no comments, last element in list can't have a comma, etc) all over the place.
- user5994461 10y agoYou can use hjson for human editable json. http://hjson.org/try.html http://hjson.org/try.html Human editable json, with comments, and doesn't kill you for a lack of trailing comma. Available libraries in tons of languages.
- stock_toaster 10y agoThat actually looks pretty nice. Thanks for the link!
- wstrange 10y agoGiven Google's involvement, I am wondering why they did not choose jsonnet?
- user5994461 10y agoHopefully, it was avoided on purpose because it's a complete nightmare to use.
- wstrange 10y agoHonest question: How so? I have not used it in anger - just played around with it.
- user5994461 10y agoToo much indirection. You get big files filled with variables, loaded from other big files also full of variables. It's hard to know what you are setting after a while or where it comes from. After a while playing with configuration systems, I'm starting to think that configuration should just be hardcoded once and for all.
- Edmond 10y agoI would rather contact you directly but your profile is empty. I would like to introduce you to HiveMind described here: http://blog.crudzilla.com/2016/10/managing-configurations-with-object.html http://blog.crudzilla.com/2016/10/managing-configurations-wi... It addresses the issues that JSSONET does without inventing a new templating language. I am happy to give a skype demo, email me if interested.