I’m not going to talk about the command-line flag –exprimental-network-imports, which isn’t working well at the time and lacks compatibility support (doesn’t support TypeScript as well). Neither am I going to talk about DNT (Deno to NPM build tool), which isn’t working well with Node.js ecosystem. However, I will be talking about Deno, because this Node.js library I’m READ MORE
Posts by A-yon
TypeScript has ‘using’ now, but we should avoid using it
About half a month ago, TypeScript 5.2 was released. In this new version, it introduced a new keyword using , which apparently is borrowed from C#. I’m not going to talk about what it promises or how to use it, rather, I’m going to diss it and talk about the reason why I’m suggesting we should prevent READ MORE
A better way to deal with errors in Golang
The following kind of code has always annoyed me: But now I’ve finally found a way to write more efficient code: Check this package for more sugar tricks: https://pkg.go.dev/github.com/ayonli/goext
Zen Helped Me Overcome Inner Fear
I just had a wonderful experience. After a while of meditation practice, I felt tired and sleepy, so I lay down on my bed and took a nap. I don’t know how long it took, I suddenly felt like my “soul” had left my body, and just floated over. I opened my eyes and saw READ MORE
Why do I prefer EventSource over WebSocket?
About two years ago, I joined the company I currently work for and started a new project using Node.js and React. During the process, there emerged a need to implement instant message pushing for various events, such as updating the user profile, sending a notification, logging in and out of the user, and even adding READ MORE