3 ms·
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/473e89
by tensility 1y ago
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/473e89edfebc27781b434430f2e8a76adfbe3b16/lib/webperl/emperl.js 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.
- simonw 1y agoThat was vendored in from this project: https://webperl.zero-g.net/ 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 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.