When a new coder want to try writing a project with ui, he would be confuse about various ui framework on the market nowadays. If you use them, you will found out:

They are based on the same template.

In deeded, there are no different between most famous ui frameworks.

How Qt work:

How web work:

Sometimes, a web frontend developer want to build a desktop app but don’t want to try Qt or platform native ui framework or don’t want to waste time on long term of learning new programming language. He just want to transform his web app to desktop version. In this situation, Electron become the best choose.

Electron make website “go offline”. How Electron-packager basically work:

You might think C function and OOP(Object-Oriented Programming) language function are the same stuff just in different language. But actually no. One sentence summary, C function a plain blueprint of operations that indicate machine how to handle data and OOP language function is an OBJECT that contain not only the function but also runtime context. So what’s the different behind.

First, let’s take a look at a common problem that almost every OOP programmer meet the problem in C++:

Two functions’ formats look identical but you can’t treat a class member function as a normal function in C/C++. How to…

Coroutine become more and more popular. Should you learn coroutine?

First, what’s coroutine? It sound new for those coders working on multithread or callback for long term. But it isn’t new stuff, really 👐 . It’s just a re-brand of callback. Yes, coroutine is just callback indeed. But it’s not new at all why we just use callback instead? Why people just waste time on it. No, no, no, it’s new stuff, actually. Just listen to me next.

What’s coroutine can do that callback can’t? Although it’s implement base on callback (or multithread, multithread-base coroutine is another implement that use…


For a coder, write codes is for his life. But write better codes is mostly for his colleagues’ life :)

If you are an algorithm engineer, performance is the only evaluation criterion. But most of the coder are not working for algorithm, just write some functional codes to solve some problem. In this situation, evaluation criterion become complex. But in most of the cases, the codes can collaborate with others’ codes is the most important factory of evaluation criterion, I think. What’ are the codes can collaborate with others? Within context!

Here I would not repeat the same stuff that…


The answer: I don't know

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store