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 READ MORE
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 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 READ MORE
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, 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, READ MORE