Hacker News new | ask | show | jobs
by wink 1535 days ago
I've been looking at Deno very briefly recently (overall a good impression) and I was very much surprised that just getting the visitor's IP address took like a dozen lines of code.

My test case was, basically reproducing something like

  <?php echo $_REQUEST . "\n" . $_SERVER; ?>
and I was a little surprised how much convenience was baked into it and how you wouldn't have access to all that in other libs. That someone created an issue[1] makes me think I am not just not looking good enough and it's actually tedious.

[1]: https://github.com/denoland/deno_std/issues/1884