Hacker News new | past | comments | ask | show | jobs | submit login

This is cool and I could see myself using this, but I wonder why it's necessary to `import cog` in the examples? Seems like it'd be better to just include cog implicitly in the namespace by design for these snippets since you're practically always going to use it.



Explicit is better than implicit. Automatically importing it makes the code look like magic.


As it happens, "cog" is also implicitly imported, though tbh I forget why....!


Awesome, that makes a lot more sense to me. I'm a long-time fan and reader, keep up the great work!




Join us for AI Startup School this June 16-17 in San Francisco!

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

Search: