by usrbinbash · 2y ago · 0 comments
No, you were pointing out that some people won't like that solution. Which is completely fine. And yes, that solution is ugly as hell, and it is a dirty hack, and I don't recommend actually doing that if there is a better way (like TOML).
But it does work.
you're just paraphrasing the obvious - it's not a solution. And YAML is a better way and addresses the problem you choose to ignore as such - ugliness.
I haven't ignored it, as shown by us discussing it here.
And no, YAML isn't a better way. It does commenting better, true, and at the same time, it does so many things wrong, that are absolutely no problem in JSON, that it becomes a treatment worse than the disease.
This specific brand of cleanliness does have a bunch of issues, but that's a trade-off depending on a use case
I think I speak for basically the entire history of programming when I say that ugly solutions exist and are widely used throughout our profession.
> while the problem that needs to be solved is ugliness
That's your opinion. I never argued that this hack solves ugliness. I argued that it solves the problem of not having a way to comment in JSON...which it does. I never claimed that it does so in a non-ugly or even good way.
> This specific brand of cleanliness does have a bunch of issues
Issues so massive they, imho, make it not worthwhile to use. As in, I rather miss the ability to write comments or write them with ugly hacks, than put up with YAMLs nonsense.
The fact that better solutions exist (again, like TOML) make this worse.