Live data from Hacker News

Ignore the haters, and other lessons learned from creating JSON5

aseemk.substack.com

21–30 of 211 posts

Re: Ignore the haters, and other lessons learned from creating JSON5

#21

I don't think writing an article about hackernews comments from two years ago is exactly what I'd call a lesson in ignoring the haters, but this reads a little bit like someone writing an article about the roaring success of null references after their adoption. despite popularity, most of the technical comments in that original thread aren't wrong. 'Popular', 'Easy to adopt' and 'a very bad idea' can be overlapping…

From my experience, the current generation of programmers value convenience beyond everything else, with a great margin.

This is not wrong per se, but it calls for much more complex code which handles all the edge cases, and hurts performance at the end of the day.

Then, this small performance penalties pile-up and the same developers ask why their code is not working as fast as it should.

I don't call for very pedantic formats, and extremely hand-optimized systems. I just wish there was some more awareness of the trade-off they're making and making small inconvenient, but technically lighter trade-offs, these codebases can obtain very dramatic speedups.

Re: Ignore the haters, and other lessons learned from creating JSON5

#23

The kind of people who leave criticism on HN are not worth listening to anyway. Most of the users of this site have no taste and think they're more brilliant / important than they actually are.

There's a lot of critics, then you look at their accomplishments and it's unsurprisingly sparse.

Re: Ignore the haters, and other lessons learned from creating JSON5

#24

The kind of people who leave criticism on HN are not worth listening to anyway. Most of the users of this site have no taste and think they're more brilliant / important than they actually are.

I think you will find that a great diversity of minds are attracted to this site, and for reasons you may not have considered. Curiosity is a giddy thing, and it is a fundamental part of what draws me here. If you read this site and see only the occasional jerk rather than the experience-driven insights, that is your misfortune. Maybe instagram is your thing. I hear they have a lot of cat pictures.

Re: Ignore the haters, and other lessons learned from creating JSON5

#25
Json comments is something I always wanted, for json files with data that you need. I even use regexp to remove them in some cases (where I know it won't conflict with the strings themselves).

Didn't knew about this json5 thing but I'll try to use it instead.

Re: Ignore the haters, and other lessons learned from creating JSON5

#26

Honestly I don't understand why JSON should be human-readable. It is a data serialization format intended to be read by software. Just adding comments and multi-line strings doesn't make it human-readable, it is still too bloated and I don't like writing it manually. If you want a human-readable format, try at least to remove unnecessary quotes, brackets and commas and make it look similar to YAML. JSON is not intend…

Also, "human-readable" is somewhat of a relative term. I can read a hexdump of many binary protocols as easily as I can English, and over a billion humans can read a language that seems impenetrable to the other several billion on this planet.

Re: Ignore the haters, and other lessons learned from creating JSON5

#27

Does ‘downloads per day’ actually mean anything? It could be someone large company’s CI system building on every commit. I don’t think I’ve ever seen a JSON5 file in the wild. I’ve always wanted comments in JSON, but the other issues highlighted are not things I care about. The ‘be lenient in what you accept’ philosophy is a disaster, just look at HTTP… stricter is better IMO.

CI like that can give you some boost, but if the project is building many times a day, the dependencies are cached somewhere. Otherwise people get too annoyed with delays. There may be a phase of lots of downloads, but then it gets fixed.

Re: Ignore the haters, and other lessons learned from creating JSON5

#29

The kind of people who leave criticism on HN are not worth listening to anyway. Most of the users of this site have no taste and think they're more brilliant / important than they actually are.

I think you will find that a great diversity of minds are attracted to this site, and for reasons you may not have considered. Curiosity is a giddy thing, and it is a fundamental part of what draws me here. If you read this site and see only the occasional jerk rather than the experience-driven insights, that is your misfortune. Maybe instagram is your thing. I hear they have a lot of cat pictures.

What makes you think the jerks are only occasional?

Re: Ignore the haters, and other lessons learned from creating JSON5

#30
post #8

I'm kind of appalled that the Hashicorp guy went that far to put someone down for just building something they found useful to themselves. What a great way to discourage someone from expressing themselves creatively. Glad Aseem carried on regardless.

I wouldn't want to work for some company whose founder can be openly toxic against a project that solves an actual problem.
Post reply on HN