Hacker News new | ask | show | jobs
by sergiomattei 2518 days ago
Yeah, this is pretty awful. I don't see myself ever using this.

1. What's the difference between this and just packaging a function as a pip package? The only one I see is just shaving off a few seconds and one less command.

2. Where is the code running from for each plugin? Eval'ing random code just seems like a bad idea. You can argue that it's the same as blindly installing a pip package, but this apparently happens each time on runtime and I see no option to check the code beforehand.

3. f and ff are pretty bad function names. I see what you're doing, but why?

4. Dep management issues aren't as common as you think they are.

5. Lots of these plugins are already in the standard library. XML to JSON is already possible quite trivially with a pip package. Not only that, but this seems like a less flexible version of that - and more obscure. (how to map xml to json?)

I'm giving this a hard pass for me, but looking forward to seeing my doubts cleared. Cheers.