The release of Deno 1.0 was the topic of this week, there was always someone talking about it everywhere I looked. Having not yet taken a look myself, I had to try it out now. As my first experience with Deno, I created a minimal API server. In this post I jotted down my thoughts for the initial developer experience.
To get up and running with Deno, see the installation guide and getting started guide.
IT'S EASY AND FAST link
It's easy to get things right at the first try with Deno, I was up and running in no time. After having installed Deno, I just opened up an IDE and started to write code that could directly be run with the deno run
command. This is different from what I'm used to, especially if you want to write in TypeScript where it's needed to configure the workspace, and where multiple packages need to be installed.
The compilation also feels faster, although I haven't measured it.
No more fatigue to choose a test runner because Deno has one built in the core, included are some assertion helpers! While running tests, I also got the feeling that it's faster than existing test runners. The time to boot up the tests is considerably faster, while the time to run the tests when it's booted is roughly the same.