Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

For whatever it's worth, this is exactly the kind of awful that I never want in any code base that I'm working on:

<https://github.com/simonw/tools/blob/473e89edfebc27781b43443...>

At least run a pretty-printer on the code so that it can be reviewed by anything but a robot.

Part of developing a good software system is about exercising taste in vendored-in libraries and, especially, the structure around them.

P.S. I've gone to look at other chunks of Javascript and see that I was unlucky to grab this steaming pile first.



That was vendored in from this project: https://webperl.zero-g.net/ - it's one of the files distributed in the zip file listed here: https://webperl.zero-g.net/using.html#basic-usage

Originally I tried to get it working loading code directly but as far as I can tell there's no stable CDN build of that, so I had to vendor it instead.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: