Yes, I understand that this is a bad idea in *almost* all cases and am
glad that node.js tries to be async for *almost* everything. Just
wondering if the idea of remote requires is a good idea? Considering
you've spent a lot of time with packaging, modules and API for the
same, was wondering if this topic ever came up and what did (you and)
the community in general have to say about it. Asking because I feel I
could really use such a thing. Not that remote requires can not be
done right now, but it's a lot of work to get the file and then
require() it, etc...
Regards,
-Dhruv.
On Jun 1, 2:33 am, Isaac Schlueter <
i...@izs.me> wrote:
> No. This is a terrible idea. Node lacks synchronous HTTP for a
> reason. It was a mistake in the browser, and it's a mistake on the
> server. HTTP is by its nature async and streaming, which is why it
> works so well over high-latency IO like the internet.
>