Re:Deno 1.0
by eloff on Wednesday May 13, 2020 @09:11PM
(#23173989)
Security is literally the main selling point of this thing. Otherwise just use node.
[ Parent
| on HN ]
It’s one of the selling points. One of the main points I took away was
” We feel that the landscape of JavaScript and the surrounding software infrastructure has changed enough that it was worthwhile to simplify. We seek a fun and productive scripting environment that can be used for a wide range of tasks.”
Sounds intriguing to me. As a fan of starting projects of as simply as possible, I will certainly be tinkering with Deno.
There are a lot selling points. To me, the main one is typescript with no build.
Re:Deno 1.0
by searchableguy on Thursday May 14, 2020 @12:56AM
(#23175481)
yarn global add ts-node prettier
echo 'alias deno="ts-node"' >> ~/.zshrc
echo 'alias deno-fmt="prettier --write"' >> ~/.zshrc
Deno provides a standard library, good defaults, top-level async-await, doesn't break browser compatibility, better API to integrate with runtime.Internals are nicer but that's with anything without ugly legacy.
They are working to get node_modules work in deno so I am kind of worried that it will be nodev2 all over.
Clearly they have never dealt with JavaScript build tools and npm. A complete nightmare.
Who hasn't? Isn't this precisely one of the pros of Deno?
Yes. That's why I said that.
Promise-based APIs sold me.