3 ms·
I did a nullll package [1] whose only purpose is to export a null and takes 400MB in memory but somehow it got flagged in HN [2]. With 41 stars on github and 10
by mickael-kerjean 3y ago
I did a nullll package [1] whose only purpose is to export a null and takes 400MB in memory but somehow it got flagged in HN [2]. With 41 stars on github and 100% test coverage [3], it was clearly production ready.
[1]: https://github.com/mickael-kerjean/nulll https://github.com/mickael-kerjean/nulll
[2]: https://news.ycombinator.com/item?id=17072675 https://news.ycombinator.com/item?id=17072675
[3]: https://github.com/mickael-kerjean/nulll/blob/master/test.js https://github.com/mickael-kerjean/nulll/blob/master/test.js
- lvncelot 3y agoThat try-catch block[1] is a thing of beauty. [1] https://github.com/mickael-kerjean/nulll/blob/master/index.js#L2 https://github.com/mickael-kerjean/nulll/blob/master/index.j...
- tiagod 3y agoShame it was flagged. Would've been handy for a project I was working on. Had to work around not having a performant null