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
Category: Programming
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
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